depot/third_party/nixpkgs/pkgs/development/python-modules/atenpdu/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

28 lines
585 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pysnmp
}:
buildPythonPackage rec {
pname = "atenpdu";
version = "0.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-/duY1hS+RU/UAdcQoHF1+c99XaN74jj/0Hj/86U0kmo=";
};
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 ];
};
}