about summary refs log tree commit diff
path: root/pkgs/development/libraries/libseccomp
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-01-01 23:02:47 +0000
committerAustin Seipp <aseipp@pobox.com>2022-01-02 12:47:52 -0600
commit281f4c06cebcd279cb1e33b4dbade3d73fb0f748 (patch)
tree42d605004c7d883aa31b00f7e5c0f9f8b79832a0 /pkgs/development/libraries/libseccomp
parent58db0cc7897a75b7b02a04d2e141af9e7adcadca (diff)
libseccomp: 2.5.2 -> 2.5.3
While at it added trivial updater plumbing.
Diffstat (limited to 'pkgs/development/libraries/libseccomp')
-rw-r--r--pkgs/development/libraries/libseccomp/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libseccomp/default.nix b/pkgs/development/libraries/libseccomp/default.nix
index 0a76e59e5b7c0..d0e8bd163ddde 100644
--- a/pkgs/development/libraries/libseccomp/default.nix
+++ b/pkgs/development/libraries/libseccomp/default.nix
@@ -1,12 +1,12 @@
-{ lib, stdenv, fetchurl, getopt, util-linux, gperf }:
+{ lib, stdenv, fetchurl, getopt, util-linux, gperf, nix-update-script }:
 
 stdenv.mkDerivation rec {
   pname = "libseccomp";
-  version = "2.5.2";
+  version = "2.5.3";
 
   src = fetchurl {
     url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
-    sha256 = "sha256-F6ZS37SR2Wvok5YOm3kZFJNu4WwTt3ejyvVi/kjLh98=";
+    sha256 = "sha256-WQZchzM2RyXpchukjDqZu8Uq+SHa9I30seAS+8exCnY=";
   };
 
   outputs = [ "out" "lib" "dev" "man" "pythonsrc" ];
@@ -31,6 +31,12 @@ stdenv.mkDerivation rec {
     tar -zcf $pythonsrc --mtime="@$SOURCE_DATE_EPOCH" --sort=name --transform s/tmp-pythonsrc/python-foundationdb/ ./tmp-pythonsrc/
   '';
 
+  passthru = {
+    updateScript = nix-update-script {
+      attrPath = pname;
+    };
+  };
+
   meta = with lib; {
     description = "High level library for the Linux Kernel seccomp filter";
     homepage = "https://github.com/seccomp/libseccomp";