python3Packages.pysma: init at 0.3.5
This commit is contained in:
parent
2a0677fd9a
commit
d8e5f408d5
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/pysma/default.nix
Normal file
36
pkgs/development/python-modules/pysma/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, attrs
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jmespath
|
||||
, async-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysma";
|
||||
version = "0.3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1awcsbk14i2aw01f7b7hrmpn9q6vr9v6la0i9n7ldv1h8rzq6j16";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
attrs
|
||||
jmespath
|
||||
];
|
||||
|
||||
# pypi does not contain tests and GitHub archive not available
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pysma" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for interacting with SMA Solar's WebConnect";
|
||||
homepage = "https://github.com/kellerza/pysma";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -5929,6 +5929,8 @@ in {
|
|||
|
||||
pyslurm = callPackage ../development/python-modules/pyslurm { slurm = pkgs.slurm; };
|
||||
|
||||
pysma = callPackage ../development/python-modules/pysma { };
|
||||
|
||||
pysmb = callPackage ../development/python-modules/pysmb { };
|
||||
|
||||
pysmbc = callPackage ../development/python-modules/pysmbc { inherit (pkgs) pkg-config; };
|
||||
|
|
Loading…
Reference in a new issue