blob: c41f20fc6acf5ddde07f514443bb9bd81f7e3c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
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 ];
};
}
|