about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/pax-utils
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-04-29 08:02:24 +0100
committerSergei Trofimovich <slyich@gmail.com>2022-04-29 08:02:24 +0100
commit4901ac200b9b039c614d0bd9422cb25e35029f5b (patch)
treefc008886fe0126326cc36b9be3db65b6bbd6f0d0 /pkgs/os-specific/linux/pax-utils
parent95261182f06babd68d929316bf2d2776346ac04a (diff)
pax-utils: 1.3.3 -> 1.3.4
While at it added trivial updater.

changes: https://gitweb.gentoo.org/proj/pax-utils.git/log/
Diffstat (limited to 'pkgs/os-specific/linux/pax-utils')
-rw-r--r--pkgs/os-specific/linux/pax-utils/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/pax-utils/default.nix b/pkgs/os-specific/linux/pax-utils/default.nix
index b22af8d708388..7172aca65f693 100644
--- a/pkgs/os-specific/linux/pax-utils/default.nix
+++ b/pkgs/os-specific/linux/pax-utils/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, lib, fetchurl, bash }:
+{ stdenv, lib, fetchurl, bash, gitUpdater }:
 
 stdenv.mkDerivation rec {
   pname = "pax-utils";
-  version = "1.3.3";
+  version = "1.3.4";
 
   src = fetchurl {
     url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
-    sha256 = "sha256-7sp/vZi8Zr6tSncADCAl2fF+qCAbhCRYgkBs4AubaxQ=";
+    sha256 = "sha256-i67S+cWujgzaG5x1mQhkEBr8ZPrQpGFuEPP/jviRBAs=";
   };
 
   strictDeps = true;
@@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
 
   makeFlags = [ "PREFIX=$(out)" ];
 
+  passthru.updateScript = gitUpdater {
+    inherit pname version;
+    url = "https://anongit.gentoo.org/git/proj/pax-utils.git";
+    rev-prefix = "v";
+  };
+
   meta = with lib; {
     description = "ELF utils that can check files for security relevant properties";
     longDescription = ''