libseccomp: 2.5.2 -> 2.5.3

While at it added trivial updater plumbing.
This commit is contained in:
Sergei Trofimovich 2022-01-01 23:02:47 +00:00 committed by Austin Seipp
parent 58db0cc789
commit 281f4c06ce

View file

@ -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";