nixpkgs/pkgs/os-specific/linux/klibc/default.nix
Eelco Dolstra d39fd2a578 * Rewrite all the kernel.org URLs to mirror://kernel/.
svn path=/nixpkgs/trunk/; revision=9202
2007-08-27 13:59:40 +00:00

15 lines
387 B
Nix

{stdenv, fetchurl, perl, bison, mktemp, kernel}:
assert stdenv.isLinux;
stdenv.mkDerivation {
name = "klibc-1.5";
builder = ./builder.sh;
src = fetchurl {
url = mirror://kernel/linux/libs/klibc/klibc-1.5.tar.bz2;
sha256 = "1izhf8kscjymsvsvhcqw9awnmp94vwv70zdj09srg9bkpjj0n017";
};
inherit kernel;
buildInputs = [perl bison mktemp];
patches = [./install.patch];
}