mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
27 lines
708 B
Nix
27 lines
708 B
Nix
{ stdenv, fetchurl, getopt }:
|
|
|
|
let version = "2.3.0"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libseccomp-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
|
|
sha256 = "07chdgr87aayn6sjm94y6gisl4j6si1hr9cqhs09l9bqfnky6mnp";
|
|
};
|
|
|
|
buildInputs = [ getopt ];
|
|
|
|
patchPhase = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "High level library for the Linux Kernel seccomp filter";
|
|
homepage = "http://sourceforge.net/projects/libseccomp";
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ thoughtpolice wkennington ];
|
|
};
|
|
}
|