Merge pull request #96172 from saschagrunert/libseccomp

libseccomp: 2.4.3 -> 2.5.0
This commit is contained in:
Austin Seipp 2020-08-25 14:45:09 -05:00 committed by GitHub
commit 7f76840034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,17 @@
{ stdenv, fetchurl, getopt, makeWrapper, utillinux }: { stdenv, fetchurl, getopt, makeWrapper, utillinux, gperf }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libseccomp"; pname = "libseccomp";
version = "2.4.3"; version = "2.5.0";
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 = "07crwxqzvl5k2b90a47ii9wgvi09s9hsy5b5jddw9ylp351d25fg"; sha256 = "1wql62cg8f95cwpy057cl764nni9g4sdn5lqj68x22kjs8w71yhz";
}; };
outputs = [ "out" "lib" "dev" "man" ]; outputs = [ "out" "lib" "dev" "man" ];
buildInputs = [ getopt makeWrapper ]; buildInputs = [ getopt makeWrapper gperf ];
patchPhase = '' patchPhase = ''
patchShebangs . patchShebangs .
@ -25,13 +25,13 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.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";
license = licenses.lgpl21; license = licenses.lgpl21;
platforms = platforms.linux; platforms = platforms.linux;
badPlatforms = [ badPlatforms = [
"alpha-linux" "alpha-linux"
"riscv64-linux" "riscv32-linux" "sparc-linux"
"sparc-linux" "sparc64-linux" "sparc64-linux"
]; ];
maintainers = with maintainers; [ thoughtpolice ]; maintainers = with maintainers; [ thoughtpolice ];
}; };