python3Packages.pysaj: init at 0.0.16
This commit is contained in:
parent
fc6215ec0d
commit
256d9e0aab
2 changed files with 43 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -7709,6 +7709,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