Merge pull request #170144 from fabaff/pysaj
python3Packages.pysaj: init at 0.0.16
This commit is contained in:
commit
e00fbf7fcc
41
pkgs/development/python-modules/pysaj/default.nix
Normal file
41
pkgs/development/python-modules/pysaj/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lxml
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysaj";
|
||||
version = "0.0.16";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fredericvl";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-7mN6GPRbXfEUfCrCrCs71SSt4x2Ch2y3a5rfXnuwVA0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
lxml
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pysaj"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to communicate with SAJ inverters";
|
||||
homepage = "https://github.com/fredericvl/pysaj";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2244,7 +2244,8 @@
|
|||
sqlalchemy
|
||||
];
|
||||
"saj" = ps: with ps; [
|
||||
]; # missing inputs: pysaj
|
||||
pysaj
|
||||
];
|
||||
"samsungtv" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
async-upnp-client
|
||||
|
|
|
@ -7711,6 +7711,8 @@ in {
|
|||
|
||||
pyruckus = callPackage ../development/python-modules/pyruckus { };
|
||||
|
||||
pysaj = callPackage ../development/python-modules/pysaj { };
|
||||
|
||||
pysam = callPackage ../development/python-modules/pysam { };
|
||||
|
||||
pysaml2 = callPackage ../development/python-modules/pysaml2 {
|
||||
|
|
Loading…
Reference in a new issue