about summary refs log tree commit diff
diff options
context:
space:
mode:
authorColin <colin@uninsane.org>2023-07-31 00:24:08 +0000
committerColin <colin@uninsane.org>2023-07-31 00:24:08 +0000
commiteba9bbc251db942ae27f87824cae643b5f3198c2 (patch)
tree346b341634c9968923444912b944fa411ec92e4f
parent11cf5e1c74fe6892e860afeeaf3bfb84fdb7b1c3 (diff)
dtrx: 8.5.1 -> 8.5.3
-rw-r--r--pkgs/tools/compression/dtrx/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/tools/compression/dtrx/default.nix b/pkgs/tools/compression/dtrx/default.nix
index ae736f18026d2..83035fe26e20f 100644
--- a/pkgs/tools/compression/dtrx/default.nix
+++ b/pkgs/tools/compression/dtrx/default.nix
@@ -1,5 +1,6 @@
 { lib
 , fetchFromGitHub
+, gitUpdater
 , python3Packages
 , gnutar
 , unzip
@@ -21,13 +22,13 @@
 
 python3Packages.buildPythonApplication rec {
   pname = "dtrx";
-  version = "8.5.1";
+  version = "8.5.3";
 
   src = fetchFromGitHub {
     owner = "dtrx-py";
     repo = "dtrx";
-    rev = "refs/tags/${version}";
-    sha256 = "sha256-KOHafmvl17IABlcBuE7isHVCIYRbA68Dna6rgiiWlkQ=";
+    rev = version;
+    sha256 = "sha256-LB3F6jcqQPRsjFO4L2fPAPnacDAdtcaadgGbwXA9LAw=";
   };
 
   postInstall =
@@ -43,6 +44,8 @@ python3Packages.buildPythonApplication rec {
 
   nativeBuildInputs = [ python3Packages.invoke ];
 
+  passthru.updateScript = gitUpdater { };
+
   meta = with lib; {
     description = "Do The Right Extraction: A tool for taking the hassle out of extracting archives";
     homepage = "https://github.com/dtrx-py/dtrx";