mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
9a0adf069f
svn path=/nixpkgs/branches/stdenv-updates/; revision=23615
19 lines
472 B
Nix
19 lines
472 B
Nix
{stdenv, fetchurl, attr, perl}:
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libcap-2.19";
|
|
|
|
src = fetchurl {
|
|
url = mirror://kernel/linux/libs/security/linux-privs/kernel-2.6/libcap-2.19.tar.gz;
|
|
sha256 = "0fdsz9j741npvh222f8p1y6l516z9liibiwdpdr3a4zg53m0pw45";
|
|
};
|
|
|
|
buildNativeInputs = [perl];
|
|
buildInputs = [attr];
|
|
|
|
preBuild = ''
|
|
makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man PAM_CAP=no)
|
|
'';
|
|
}
|