forked from mirrors/nixpkgs
python3Packages.srpenergy: init at 1.3.2
This commit is contained in:
parent
2db14a9cb5
commit
24da590943
40
pkgs/development/python-modules/srpenergy/default.nix
Normal file
40
pkgs/development/python-modules/srpenergy/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python-dateutil
|
||||||
|
, requests
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "srpenergy";
|
||||||
|
version = "1.3.2";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lamoreauxlab";
|
||||||
|
repo = "srpenergy-api-client-python";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "03kldjk90mrnzf2hpd7xky0lpph853mjxc34kfa2m5mbpbpkxz9c";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
python-dateutil
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "srpenergy.client" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Unofficial Python module for interacting with Srp Energy data";
|
||||||
|
homepage = "https://github.com/lamoreauxlab/srpenergy-api-client-python";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8218,6 +8218,8 @@ in {
|
||||||
|
|
||||||
srp = callPackage ../development/python-modules/srp { };
|
srp = callPackage ../development/python-modules/srp { };
|
||||||
|
|
||||||
|
srpenergy = callPackage ../development/python-modules/srpenergy { };
|
||||||
|
|
||||||
srptools = callPackage ../development/python-modules/srptools { };
|
srptools = callPackage ../development/python-modules/srptools { };
|
||||||
|
|
||||||
srsly = callPackage ../development/python-modules/srsly { };
|
srsly = callPackage ../development/python-modules/srsly { };
|
||||||
|
|
Loading…
Reference in a new issue