mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 03:34:12 +00:00
apachetomcatscanner: refactor
This commit is contained in:
parent
c22e54f496
commit
bc840cbeb4
@ -6,7 +6,7 @@
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "apachetomcatscanner";
|
||||
version = "3.7.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "p0dalirius";
|
||||
@ -21,6 +21,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
sed -i '/apachetomcatscanner=apachetomcatscanner\.__main__:main/d' setup.py
|
||||
'';
|
||||
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
requests
|
||||
sectools
|
||||
@ -39,7 +41,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
mainProgram = "ApacheTomcatScanner";
|
||||
homepage = "https://github.com/p0dalirius/ApacheTomcatScanner";
|
||||
changelog = "https://github.com/p0dalirius/ApacheTomcatScanner/releases/tag/${version}";
|
||||
license = with licenses; [ gpl2Only ];
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user