about summary refs log tree commit diff
path: root/pkgs/tools/security/trueseeing
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-01-01 11:45:29 +0100
committerGitHub <noreply@github.com>2024-01-01 11:45:29 +0100
commit46139347fa759767b22465ed3f78eca0659479cf (patch)
tree1ee6965de049790b752d261c2556e54ee4e2a2b6 /pkgs/tools/security/trueseeing
parent4b0b110a090532b6dceb7292dfcb4804cd4c8563 (diff)
downloadnixlib-46139347fa759767b22465ed3f78eca0659479cf.tar
nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.gz
nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.bz2
nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.lz
nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.xz
nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.zst
nixlib-46139347fa759767b22465ed3f78eca0659479cf.zip
trueseeing: refactor
Diffstat (limited to 'pkgs/tools/security/trueseeing')
-rw-r--r--pkgs/tools/security/trueseeing/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/tools/security/trueseeing/default.nix b/pkgs/tools/security/trueseeing/default.nix
index ad9fd643a355..8284a802bd88 100644
--- a/pkgs/tools/security/trueseeing/default.nix
+++ b/pkgs/tools/security/trueseeing/default.nix
@@ -6,15 +6,20 @@
 python3.pkgs.buildPythonApplication rec {
   pname = "trueseeing";
   version = "2.1.9";
-  format = "pyproject";
+  pyproject = true;
 
   src = fetchFromGitHub {
     owner = "alterakey";
-    repo = pname;
+    repo = "trueseeing";
     rev = "refs/tags/v${version}";
     hash = "sha256-g5OqdnPtGGV4wBwPRAjH3lweguwlfVcgpNLlq54OHKA=";
   };
 
+  postPatch = ''
+    substituteInPlace pyproject.toml \
+      --replace "attrs~=21.4" "attrs>=21.4"
+  '';
+
   nativeBuildInputs = with python3.pkgs; [
     flit-core
   ];
@@ -26,15 +31,8 @@ python3.pkgs.buildPythonApplication rec {
     lxml
     pypubsub
     pyyaml
-    docker
   ];
 
-  postPatch = ''
-    substituteInPlace pyproject.toml \
-      --replace "attrs~=21.4" "attrs>=21.4" \
-      --replace "docker~=5.0.3" "docker"
-  '';
-
   # Project has no tests
   doCheck = false;