depot/third_party/nixpkgs/pkgs/development/python-modules/atenpdu/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

39 lines
708 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, async-timeout
, pysnmplib
, pythonOlder
}:
buildPythonPackage rec {
pname = "atenpdu";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-uUi6NtiHt3wWU4hrC6RNVEDBcoBCgkpwKyePq1VxO0c=";
};
propagatedBuildInputs = [
async-timeout
pysnmplib
];
# 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 ];
};
}