about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/trueseeing/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/security/trueseeing/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/security/trueseeing/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/tools/security/trueseeing/default.nix b/nixpkgs/pkgs/tools/security/trueseeing/default.nix
index 4aa9e1852aee..d1014bd36772 100644
--- a/nixpkgs/pkgs/tools/security/trueseeing/default.nix
+++ b/nixpkgs/pkgs/tools/security/trueseeing/default.nix
@@ -5,14 +5,14 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "trueseeing";
-  version = "2.1.4";
+  version = "2.1.5";
   format = "flit";
 
   src = fetchFromGitHub {
     owner = "alterakey";
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-zc0AOv7OFmEPLl//eykbh538rM2j4kXBLHt5bgK1IRY=";
+    hash = "sha256-7iQOQ81k2bPBber4ewyvDy82s26j4P3Vv8MzSs04KAw=";
   };
 
   nativeBuildInputs = with python3.pkgs; [
@@ -26,8 +26,15 @@ 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;