Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 28 lines 586 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pysnmp 5}: 6 7buildPythonPackage rec { 8 pname = "atenpdu"; 9 version = "0.3.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1np9p3d180c26p54nw33alb003lhx6fprr21h45dd8gqk3slm13c"; 14 }; 15 16 propagatedBuildInputs = [ pysnmp ]; 17 18 # Project has no test 19 doCheck = false; 20 pythonImportsCheck = [ "atenpdu" ]; 21 22 meta = with lib; { 23 description = "Python interface to control ATEN PE PDUs"; 24 homepage = "https://github.com/mtdcr/pductl"; 25 license = with licenses; [ mit ]; 26 maintainers = with maintainers; [ fab ]; 27 }; 28}