ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / nmapthon2 / default.nix
bloba19dd946b8fdf6f745974df4c81ba07a94a8248a
1 { lib
2 , appdirs
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "nmapthon2";
11   version = "0.1.5";
12   format = "setuptools";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "cblopez";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-4Na75TdKDywUomJF4tDWUWwCCtcOSxBUMOF7+FDhbpY=";
21   };
23   checkInputs = [
24     pytestCheckHook
25   ];
27   pytestFlagsArray = [
28     "tests/scanner_tests.py"
29   ];
31   pythonImportsCheck = [
32     "nmapthon2"
33   ];
35   meta = with lib; {
36     description = "Python library to automate nmap";
37     homepage = "https://github.com/cblopez/nmapthon2";
38     license = with licenses; [ asl20 ];
39     maintainers = with maintainers; [ fab ];
40   };