1{ lib 2, buildPythonPackage 3, fetchPypi 4, pysnmp 5}: 6 7buildPythonPackage rec { 8 pname = "atenpdu"; 9 version = "0.3.2"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-hlbrjx6WKVJYaxrMT4fiRXlxKRcQU4AIQUVgA8mbWa8="; 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}