nixpkgs/pkgs/development/python-modules/atenpdu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
832 B
Nix
Raw Normal View History

2021-01-21 22:55:34 +00:00
{
lib,
buildPythonPackage,
fetchPypi,
async-timeout,
pysnmp,
pythonOlder,
poetry-core,
2021-01-21 22:55:34 +00:00
}:
buildPythonPackage rec {
pname = "atenpdu";
version = "0.6.3";
pyproject = true;
disabled = pythonOlder "3.8";
2021-01-21 22:55:34 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-BcCw5y5LB0jLp9dRP0ZsAObTZ07kS+h+Hm8PZ0NwU3E=";
2021-01-21 22:55:34 +00:00
};
build-system = [ poetry-core ];
dependencies = [
async-timeout
pysnmp
];
2021-01-21 22:55:34 +00:00
# Module has no test
2021-01-21 22:55:34 +00:00
doCheck = false;
pythonImportsCheck = [ "atenpdu" ];
2021-01-21 22:55:34 +00:00
meta = with lib; {
description = "Python interface to control ATEN PE PDUs";
homepage = "https://github.com/mtdcr/pductl";
changelog = "https://github.com/mtdcr/pductl/releases/tag/${version}";
license = licenses.mit;
2021-01-21 22:55:34 +00:00
maintainers = with maintainers; [ fab ];
mainProgram = "pductl";
2021-01-21 22:55:34 +00:00
};
}