3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git/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

17 lines
420 B
Nix

{stdenv, fetchurl, curl, openssl, zlib, expat, perl}:
stdenv.mkDerivation {
name = "git-1.5.1.2";
src = fetchurl {
url = mirror://kernel/software/scm/git/git-1.5.1.2.tar.bz2;
sha256 = "0a7nnw9631h6nxk7sny0cjv89qlibilvsm6947620vr2kgc6p6k2";
};
buildInputs = [curl openssl zlib expat];
preBuild = "
makeFlagsArray=(prefix=$out PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell}/bin/sh)
";
}