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/atenpdu/default.nix

39 lines
702 B

{ lib
, buildPythonPackage
, fetchPypi
, async-timeout
, pysnmp
, pythonOlder
}:
buildPythonPackage rec {
pname = "atenpdu";
version = "0.3.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-MGxlzAEcd2EzIjAjY7/1xg1ZQhyL7dcFmCzfY9+jGJ4=";
};
propagatedBuildInputs = [
async-timeout
pysnmp
];
# Project has no test
doCheck = false;
pythonImportsCheck = [
"atenpdu"
];
meta = with lib; {
description = "Python interface to control ATEN PE PDUs";
homepage = "https://github.com/mtdcr/pductl";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}