Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-16.03 26 lines 720 B view raw
1{ stdenv, fetchurl, getopt }: 2 3let version = "2.2.3"; in 4 5stdenv.mkDerivation rec { 6 name = "libseccomp-${version}"; 7 8 src = fetchurl { 9 url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz"; 10 sha256 = "d9b400b703cab7bb04b84b9b6e52076a630b673819d7541757bcc16467b6d49e"; 11 }; 12 13 buildInputs = [ getopt ]; 14 15 patchPhase = '' 16 patchShebangs . 17 ''; 18 19 meta = with stdenv.lib; { 20 description = "high level library for the Linux Kernel seccomp filter"; 21 homepage = "http://sourceforge.net/projects/libseccomp"; 22 license = licenses.lgpl2; 23 platforms = platforms.linux; 24 maintainers = with maintainers; [ thoughtpolice wkennington ]; 25 }; 26}