nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 853 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 defusedxml, 5 fetchFromGitHub, 6}: 7 8buildPythonPackage rec { 9 pname = "python-libnmap"; 10 version = "0.7.3"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "savon-noir"; 15 repo = "python-libnmap"; 16 tag = "v${version}"; 17 hash = "sha256-cI8wdOvTmRy2cxLBkJn7vXRBRvewDMNl/tkIiRGhZJ8="; 18 }; 19 20 optional-dependencies = { 21 defusedxml = [ defusedxml ]; 22 }; 23 24 # We don't want the nmap binary being present 25 doCheck = false; 26 27 pythonImportsCheck = [ "libnmap" ]; 28 29 meta = { 30 description = "Library to run nmap scans, parse and diff scan results"; 31 homepage = "https://github.com/savon-noir/python-libnmap"; 32 changelog = "https://github.com/savon-noir/python-libnmap/blob/${version}/CHANGELOG.md"; 33 license = lib.licenses.asl20; 34 maintainers = with lib.maintainers; [ fab ]; 35 }; 36}