blob: 37322fe8eef78ca0206428a4ccbe92eabdf4e393 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "nmapthon2";
version = "0.1.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "cblopez";
repo = "nmapthon2";
rev = "v${version}";
hash = "sha256-4Na75TdKDywUomJF4tDWUWwCCtcOSxBUMOF7+FDhbpY=";
};
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests/scanner_tests.py" ];
pythonImportsCheck = [ "nmapthon2" ];
meta = {
description = "Python library to automate nmap";
homepage = "https://github.com/cblopez/nmapthon2";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|