Merge pull request #170144 from fabaff/pysaj

python3Packages.pysaj: init at 0.0.16
main
Martin Weinelt 2 years ago committed by GitHub
commit e00fbf7fcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 41
      pkgs/development/python-modules/pysaj/default.nix
  2. 3
      pkgs/servers/home-assistant/component-packages.nix
  3. 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 ];
};
}

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