Files
nixpkgs/pkgs/development/python-modules/python3-nmap/default.nix
Fabian Affolter 7dfe048323 python313Packages.python3-nmap: init at 1.9.2
Library which helps in using nmap port scanner

https://github.com/nmmapper/python3-nmap
2025-12-26 09:48:53 +01:00

38 lines
807 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
simplejson,
}:
buildPythonPackage rec {
pname = "python3-nmap";
version = "1.9.2";
pyproject = true;
src = fetchFromGitHub {
owner = "nmmapper";
repo = "python3-nmap";
tag = version;
hash = "sha256-d/rH3aRNh9SDyVvbiTFCQyfZ6amtnH2iSwKqTOlVLNY=";
};
build-system = [ setuptools ];
dependencies = [ simplejson ];
pythonImportsCheck = [ "nmap3" ];
# Module has no tests
doCheck = false;
meta = {
description = "Library which helps in using nmap port scanner";
homepage = "https://github.com/nmmapper/python3-nmap";
changelog = "https://github.com/nmmapper/python3-nmap/releases/tag/${src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}