at master 880 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 async-timeout, 6 pysnmp, 7 pythonOlder, 8 poetry-core, 9}: 10 11buildPythonPackage rec { 12 pname = "atenpdu"; 13 version = "0.6.3"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-BcCw5y5LB0jLp9dRP0ZsAObTZ07kS+h+Hm8PZ0NwU3E="; 21 }; 22 23 build-system = [ poetry-core ]; 24 25 dependencies = [ 26 async-timeout 27 pysnmp 28 ]; 29 30 # Module has no test 31 doCheck = false; 32 33 pythonImportsCheck = [ "atenpdu" ]; 34 35 meta = with lib; { 36 description = "Python interface to control ATEN PE PDUs"; 37 homepage = "https://github.com/mtdcr/pductl"; 38 changelog = "https://github.com/mtdcr/pductl/releases/tag/${version}"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ fab ]; 41 mainProgram = "pductl"; 42 broken = versionAtLeast pysnmp.version "7"; 43 }; 44}