python3Packages.pysaj: init at 0.0.16

main
Fabian Affolter 2 years ago
parent fc6215ec0d
commit 256d9e0aab
  1. 41
      pkgs/development/python-modules/pysaj/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -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…
Cancel
Save