1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

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

pythonPackages.pyatome: init at 0.1.1
This commit is contained in:
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 { };