Merge pull request #142330 from uvNikita/py3-apcaccess/init
python3Packages.apcaccess: init at 0.0.13
This commit is contained in:
commit
19a363fd6f
37
pkgs/development/python-modules/apcaccess/default.nix
Normal file
37
pkgs/development/python-modules/apcaccess/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "apcaccess";
|
||||||
|
version = "0.0.13";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "flyte";
|
||||||
|
repo = "apcaccess";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-XLoNRh6MgXCfRtWD9NpVZSyroW6E9nRYw6Grxa+AQkc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "setup_requires='pytest-runner'," ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"apcaccess"
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Library offers programmatic access to the status information provided by apcupsd over its Network Information Server";
|
||||||
|
homepage = "https://github.com/flyte/apcaccess";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ uvnikita ];
|
||||||
|
};
|
||||||
|
}
|
@ -42,7 +42,7 @@
|
|||||||
"anel_pwrctrl" = ps: with ps; [ ]; # missing inputs: anel_pwrctrl-homeassistant
|
"anel_pwrctrl" = ps: with ps; [ ]; # missing inputs: anel_pwrctrl-homeassistant
|
||||||
"anthemav" = ps: with ps; [ ]; # missing inputs: anthemav
|
"anthemav" = ps: with ps; [ ]; # missing inputs: anthemav
|
||||||
"apache_kafka" = ps: with ps; [ aiokafka ];
|
"apache_kafka" = ps: with ps; [ aiokafka ];
|
||||||
"apcupsd" = ps: with ps; [ ]; # missing inputs: apcaccess
|
"apcupsd" = ps: with ps; [ apcaccess ];
|
||||||
"api" = ps: with ps; [ aiohttp-cors ];
|
"api" = ps: with ps; [ aiohttp-cors ];
|
||||||
"apns" = ps: with ps; [ ]; # missing inputs: apns2
|
"apns" = ps: with ps; [ ]; # missing inputs: apns2
|
||||||
"apple_tv" = ps: with ps; [ pyatv ];
|
"apple_tv" = ps: with ps; [ pyatv ];
|
||||||
|
@ -511,6 +511,8 @@ in {
|
|||||||
|
|
||||||
apache-airflow = callPackage ../development/python-modules/apache-airflow { };
|
apache-airflow = callPackage ../development/python-modules/apache-airflow { };
|
||||||
|
|
||||||
|
apcaccess = callPackage ../development/python-modules/apcaccess { };
|
||||||
|
|
||||||
apipkg = callPackage ../development/python-modules/apipkg { };
|
apipkg = callPackage ../development/python-modules/apipkg { };
|
||||||
|
|
||||||
apispec = callPackage ../development/python-modules/apispec { };
|
apispec = callPackage ../development/python-modules/apispec { };
|
||||||
|
Loading…
Reference in New Issue
Block a user