blob: 2567e70b0d677aee9c1de4292a7ab61b5c662f21 (
plain) (
blame)
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
|
{ lib
, appdirs
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "nmapthon2";
version = "0.1.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-6mGMB8nW6CqTPxgc1fveh6fJo/t+jpUS6rJ2VR2gU/g=";
};
# Tests are not part of the PyPI source and source is not tagged
# https://github.com/cblopez/nmapthon2/issues/3
doCheck = false;
pythonImportsCheck = [
"nmapthon2"
];
meta = with lib; {
description = "Python library to automate nmap";
homepage = "https://github.com/cblopez/nmapthon2";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}
|