about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-28 10:37:14 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-03-28 10:37:14 +0100
commit5d056b548a8b42404ee634bc803dd697302449e9 (patch)
tree4f5914cd654e3fc85cf91faa747760da30e5628a /pkgs/tools
parent4f28c0b741d07965701272897d117c196c08b952 (diff)
knockpy: refactor
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/security/knockpy/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/security/knockpy/default.nix b/pkgs/tools/security/knockpy/default.nix
index 6d4e80ec98c23..4a0bcde2b1696 100644
--- a/pkgs/tools/security/knockpy/default.nix
+++ b/pkgs/tools/security/knockpy/default.nix
@@ -21,12 +21,12 @@ python3.pkgs.buildPythonApplication rec {
     "tqdm"
   ];
 
-  nativeBuildInputs = with python3.pkgs; [
+  build-system = with python3.pkgs; [
     pythonRelaxDepsHook
     setuptools
   ];
 
-  propagatedBuildInputs = with python3.pkgs; [
+  dependencies = with python3.pkgs; [
     beautifulsoup4
     dnspython
     pyopenssl
@@ -43,10 +43,10 @@ python3.pkgs.buildPythonApplication rec {
 
   meta = with lib; {
     description = "Tool to scan subdomains";
-    mainProgram = "knockpy";
     homepage = "https://github.com/guelfoweb/knock";
     changelog = "https://github.com/guelfoweb/knock/releases/tag/${version}";
     license = with licenses; [ gpl3Only ];
     maintainers = with maintainers; [ fab ];
+    mainProgram = "knockpy";
   };
 }