depot/third_party/nixpkgs/pkgs/development/python-modules/atenpdu/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
586 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pysnmp
}:
buildPythonPackage rec {
pname = "atenpdu";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "1np9p3d180c26p54nw33alb003lhx6fprr21h45dd8gqk3slm13c";
};
propagatedBuildInputs = [ 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 ];
};
}