Merge pull request #142334 from uvNikita/py3-pyatome/init

pythonPackages.pyatome: init at 0.1.1
conduit-nginx
Fabian Affolter 2021-10-21 22:32:49 +02:00 committed by GitHub
commit ec0535d0c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, simplejson
, fake-useragent
}:
buildPythonPackage rec {
pname = "pyatome";
version = "0.1.1";
src = fetchPypi {
pname = "pyAtome";
inherit version;
sha256 = "7282e7ec258c69d4ddf2a5754ff07680a1ac92f9bfb478d601fd9e944fccd834";
};
propagatedBuildInputs = [ requests simplejson fake-useragent ];
# no tests in PyPI tarballs
doCheck = false;
pythonImportsCheck = [
"pyatome"
];
meta = with lib; {
description = "Python module to get energy consumption data from Atome";
homepage = "https://github.com/baqs/pyAtome";
license = licenses.asl20;
maintainers = with maintainers; [ uvnikita ];
};
}

View File

@ -62,7 +62,7 @@
"asuswrt" = ps: with ps; [ aioasuswrt ];
"atag" = ps: with ps; [ pyatag ];
"aten_pe" = ps: with ps; [ atenpdu ];
"atome" = ps: with ps; [ ]; # missing inputs: pyatome
"atome" = ps: with ps; [ pyatome ];
"august" = ps: with ps; [ yalexs ];
"aurora" = ps: with ps; [ auroranoaa ];
"aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy

View File

@ -5637,6 +5637,8 @@ in {
pyatag = callPackage ../development/python-modules/pyatag { };
pyatome = callPackage ../development/python-modules/pyatome { };
pycontrol4 = callPackage ../development/python-modules/pycontrol4 { };
pycoolmasternet-async = callPackage ../development/python-modules/pycoolmasternet-async { };