2007-04-26 18:14:01 +02:00
|
|
|
{stdenv, fetchurl, curl, openssl, zlib, expat, perl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "git-1.5.1.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2007-08-27 15:59:40 +02:00
|
|
|
url = mirror://kernel/software/scm/git/git-1.5.1.2.tar.bz2;
|
2007-04-26 18:14:01 +02:00
|
|
|
sha256 = "0a7nnw9631h6nxk7sny0cjv89qlibilvsm6947620vr2kgc6p6k2";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [curl openssl zlib expat];
|
|
|
|
|
|
|
|
preBuild = "
|
2007-05-16 16:54:28 +02:00
|
|
|
makeFlagsArray=(prefix=$out PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell}/bin/sh)
|
2007-04-26 18:14:01 +02:00
|
|
|
";
|
|
|
|
}
|