libseccomp: 2.5.2 -> 2.5.3
While at it added trivial updater plumbing.
This commit is contained in:
parent
58db0cc789
commit
281f4c06ce
|
@ -1,12 +1,12 @@
|
||||||
{ lib, stdenv, fetchurl, getopt, util-linux, gperf }:
|
{ lib, stdenv, fetchurl, getopt, util-linux, gperf, nix-update-script }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libseccomp";
|
pname = "libseccomp";
|
||||||
version = "2.5.2";
|
version = "2.5.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
|
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" ];
|
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/
|
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; {
|
meta = with lib; {
|
||||||
description = "High level library for the Linux Kernel seccomp filter";
|
description = "High level library for the Linux Kernel seccomp filter";
|
||||||
homepage = "https://github.com/seccomp/libseccomp";
|
homepage = "https://github.com/seccomp/libseccomp";
|
||||||
|
|
Loading…
Reference in a new issue