at v192 27 lines 713 B view raw
1{ stdenv, fetchFromGitHub, autoreconfHook, getopt }: 2 3stdenv.mkDerivation rec { 4 name = "libseccomp-${version}"; 5 version = "2.2.3"; 6 7 src = fetchFromGitHub { 8 owner = "seccomp"; 9 repo = "libseccomp"; 10 rev = "v${version}"; 11 sha256 = "0pl827qjls5b6kjj8qxxdwcn6rviqbm5xjqf0hgx6b04c836mswx"; 12 }; 13 14 buildInputs = [ autoreconfHook getopt ]; 15 16 patchPhase = '' 17 patchShebangs . 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "high level library for the Linux Kernel seccomp filter"; 22 homepage = "http://sourceforge.net/projects/libseccomp"; 23 license = licenses.lgpl2; 24 platforms = platforms.linux; 25 maintainers = with maintainers; [ thoughtpolice wkennington ]; 26 }; 27}