mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
62b0dddf0e
svn path=/nixpkgs/trunk/; revision=8709
17 lines
430 B
Nix
17 lines
430 B
Nix
{stdenv, fetchurl, curl, openssl, zlib, expat, perl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "git-1.5.1.2";
|
|
|
|
src = fetchurl {
|
|
url = http://www.kernel.org/pub/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)
|
|
";
|
|
}
|