Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 39 lines 702 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, async-timeout 5, pysnmp 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "atenpdu"; 11 version = "0.4.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-mn44nChWy6z/B+gLc3MDndkRb2+geoojT/4AqwKpLXM="; 19 }; 20 21 propagatedBuildInputs = [ 22 async-timeout 23 pysnmp 24 ]; 25 26 # Project has no test 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "atenpdu" 31 ]; 32 33 meta = with lib; { 34 description = "Python interface to control ATEN PE PDUs"; 35 homepage = "https://github.com/mtdcr/pductl"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}