1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/libraries/libseccomp/default.nix

27 lines
708 B
Nix
Raw Normal View History

2015-05-22 14:49:27 +01:00
{ stdenv, fetchurl, getopt }:
2016-08-25 00:06:22 +01:00
let version = "2.3.1"; in
stdenv.mkDerivation rec {
2015-05-22 14:49:27 +01:00
name = "libseccomp-${version}";
2015-05-22 14:49:27 +01:00
src = fetchurl {
url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
2016-08-25 00:06:22 +01:00
sha256 = "0asnlkzqms520r0dra08dzcz5hh6hs7lkajfw9wij3vrd0hxsnzz";
};
2015-05-22 14:49:27 +01:00
buildInputs = [ getopt ];
2015-03-27 00:54:08 +00:00
patchPhase = ''
2015-03-27 00:54:08 +00:00
patchShebangs .
'';
2015-03-27 00:54:08 +00:00
meta = with stdenv.lib; {
description = "High level library for the Linux Kernel seccomp filter";
homepage = "http://sourceforge.net/projects/libseccomp";
2015-03-27 00:54:08 +00:00
license = licenses.lgpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ thoughtpolice wkennington ];
};
}