mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
python3Packages.callPackage (#117406)
This commit is contained in:
parent
9091767fba
commit
e3645c05ed
40
pkgs/tools/security/knockpy/default.nix
Normal file
40
pkgs/tools/security/knockpy/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "knockpy";
|
||||||
|
version = "5.0.0";
|
||||||
|
disabled = python3.pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "guelfoweb";
|
||||||
|
repo = "knock";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1h7sibdxx8y53xm1wydyng418n4j6baiys257msq03cs04jlm7h9";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
beautifulsoup4
|
||||||
|
colorama
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# https://github.com/guelfoweb/knock/pull/95
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "bs4" "beautifulsoup4"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Project has no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "knockpy" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tool to scan subdomains";
|
||||||
|
homepage = "https://github.com/guelfoweb/knock";
|
||||||
|
license = with licenses; [ gpl3Only ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -5766,6 +5766,8 @@ in
|
|||||||
|
|
||||||
knockknock = callPackage ../tools/security/knockknock { };
|
knockknock = callPackage ../tools/security/knockknock { };
|
||||||
|
|
||||||
|
knockpy = callPackage ../tools/security/knockpy { };
|
||||||
|
|
||||||
kore = callPackage ../development/web/kore { };
|
kore = callPackage ../development/web/kore { };
|
||||||
|
|
||||||
krakenx = callPackage ../tools/system/krakenx { };
|
krakenx = callPackage ../tools/system/krakenx { };
|
||||||
|
Loading…
Reference in New Issue
Block a user