Merge pull request #146897 from fabaff/afsapi
python3Packages.afsapi: init at 0.0.4
This commit is contained in:
commit
5de7043867
3 changed files with 52 additions and 1 deletions
49
pkgs/development/python-modules/afsapi/default.nix
Normal file
49
pkgs/development/python-modules/afsapi/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lxml
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "afsapi";
|
||||||
|
version = "0.0.4";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zhelev";
|
||||||
|
repo = "python-afsapi";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "aevxhHuRedDs0JxeMlYSKHDQwcIs7miRm4FCtssdE0w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
lxml
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-aiohttp
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"async_tests.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"afsapi"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python implementation of the Frontier Silicon API";
|
||||||
|
homepage = "https://github.com/zhelev/python-afsapi";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -298,7 +298,7 @@
|
||||||
"fritzbox_callmonitor" = ps: with ps; [ fritzconnection ];
|
"fritzbox_callmonitor" = ps: with ps; [ fritzconnection ];
|
||||||
"fronius" = ps: with ps; [ pyfronius ];
|
"fronius" = ps: with ps; [ pyfronius ];
|
||||||
"frontend" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
"frontend" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||||
"frontier_silicon" = ps: with ps; [ ]; # missing inputs: afsapi
|
"frontier_silicon" = ps: with ps; [ afsapi ];
|
||||||
"futurenow" = ps: with ps; [ pyfnip ];
|
"futurenow" = ps: with ps; [ pyfnip ];
|
||||||
"garadget" = ps: with ps; [ ];
|
"garadget" = ps: with ps; [ ];
|
||||||
"garages_amsterdam" = ps: with ps; [ garages-amsterdam ];
|
"garages_amsterdam" = ps: with ps; [ garages-amsterdam ];
|
||||||
|
|
|
@ -221,6 +221,8 @@ in {
|
||||||
|
|
||||||
affine = callPackage ../development/python-modules/affine { };
|
affine = callPackage ../development/python-modules/affine { };
|
||||||
|
|
||||||
|
afsapi = callPackage ../development/python-modules/afsapi { };
|
||||||
|
|
||||||
agate = callPackage ../development/python-modules/agate { };
|
agate = callPackage ../development/python-modules/agate { };
|
||||||
|
|
||||||
agate-dbf = callPackage ../development/python-modules/agate-dbf { };
|
agate-dbf = callPackage ../development/python-modules/agate-dbf { };
|
||||||
|
|
Loading…
Reference in a new issue