Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
744 B · 35 lines
Nix
123456789101112131415161718192021222324252627282930313233343536{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "nmapthon2"; version = "0.1.5"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "cblopez"; repo = "nmapthon2"; rev = "v${version}"; hash = "sha256-4Na75TdKDywUomJF4tDWUWwCCtcOSxBUMOF7+FDhbpY="; };
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests/scanner_tests.py" ];
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 ]; };}