nixpkgs/pkgs/development/libraries/libseccomp/default.nix

28 lines
713 B
Nix
Raw Normal View History

2015-03-27 03:54:08 +03:00
{ stdenv, fetchFromGitHub, autoreconfHook, getopt }:
stdenv.mkDerivation rec {
name = "libseccomp-${version}";
2015-05-20 23:03:41 +03:00
version = "2.2.1";
2015-03-27 03:54:08 +03:00
src = fetchFromGitHub {
owner = "seccomp";
repo = "libseccomp";
rev = "v${version}";
2015-05-20 23:03:41 +03:00
sha256 = "153k3jflcgij19nxghmwlvqlngl84vkld514d31490c6sfkr5fy2";
};
2015-03-27 03:54:08 +03:00
buildInputs = [ autoreconfHook getopt ];
patchPhase = ''
2015-03-27 03:54:08 +03:00
patchShebangs .
'';
2015-03-27 03:54:08 +03:00
meta = with stdenv.lib; {
description = "high level library for the Linux Kernel seccomp filter";
homepage = "http://sourceforge.net/projects/libseccomp";
2015-03-27 03:54:08 +03:00
license = licenses.lgpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ thoughtpolice wkennington ];
};
}