pythonPackages.pyatome: init at 0.1.1

conduit-nginx
Nikita Uvarov 2021-10-20 12:53:00 +02:00
parent e06171f926
commit 045e85bb9b
No known key found for this signature in database
GPG Key ID: D3C4D7873B85C975
2 changed files with 36 additions and 0 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

@ -5623,6 +5623,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 { };