mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
Merge pull request #142334 from uvNikita/py3-pyatome/init
pythonPackages.pyatome: init at 0.1.1
This commit is contained in:
commit
ec0535d0c1
34
pkgs/development/python-modules/pyatome/default.nix
Normal file
34
pkgs/development/python-modules/pyatome/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue