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