Merge pull request #146897 from fabaff/afsapi

python3Packages.afsapi: init at 0.0.4

authored by Fabian Affolter and committed by GitHub 5de70438 ebc27a10

+52 -1
+49
pkgs/development/python-modules/afsapi/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , lxml 6 + , pytest-aiohttp 7 + , pytestCheckHook 8 + , pythonOlder 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "afsapi"; 13 + version = "0.0.4"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.8"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "zhelev"; 20 + repo = "python-afsapi"; 21 + rev = version; 22 + sha256 = "aevxhHuRedDs0JxeMlYSKHDQwcIs7miRm4FCtssdE0w="; 23 + }; 24 + 25 + propagatedBuildInputs = [ 26 + aiohttp 27 + lxml 28 + ]; 29 + 30 + checkInputs = [ 31 + pytest-aiohttp 32 + pytestCheckHook 33 + ]; 34 + 35 + pytestFlagsArray = [ 36 + "async_tests.py" 37 + ]; 38 + 39 + pythonImportsCheck = [ 40 + "afsapi" 41 + ]; 42 + 43 + meta = with lib; { 44 + description = "Python implementation of the Frontier Silicon API"; 45 + homepage = "https://github.com/zhelev/python-afsapi"; 46 + license = licenses.asl20; 47 + maintainers = with maintainers; [ fab ]; 48 + }; 49 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 298 298 "fritzbox_callmonitor" = ps: with ps; [ fritzconnection ]; 299 299 "fronius" = ps: with ps; [ pyfronius ]; 300 300 "frontend" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ]; 301 - "frontier_silicon" = ps: with ps; [ ]; # missing inputs: afsapi 301 + "frontier_silicon" = ps: with ps; [ afsapi ]; 302 302 "futurenow" = ps: with ps; [ pyfnip ]; 303 303 "garadget" = ps: with ps; [ ]; 304 304 "garages_amsterdam" = ps: with ps; [ garages-amsterdam ];
+2
pkgs/top-level/python-packages.nix
··· 221 221 222 222 affine = callPackage ../development/python-modules/affine { }; 223 223 224 + afsapi = callPackage ../development/python-modules/afsapi { }; 225 + 224 226 agate = callPackage ../development/python-modules/agate { }; 225 227 226 228 agate-dbf = callPackage ../development/python-modules/agate-dbf { };