My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pysaj/default.nix

41 lines
744 B

{ 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 ];
};
}