git: upgraded to 1.5.3.5; meta added; nix-expr slightly rewritten

svn path=/nixpkgs/trunk/; revision=9668
This commit is contained in:
Yury G. Kudryashov 2007-11-14 21:41:01 +00:00
parent a89817cba8
commit 1aa59d5407

View File

@ -1,16 +1,21 @@
{stdenv, fetchurl, curl, openssl, zlib, expat, perl}:
args: with args;
stdenv.mkDerivation {
name = "git-1.5.1.2";
stdenv.mkDerivation rec {
name = "git-1.5.3.5";
src = fetchurl {
url = mirror://kernel/software/scm/git/git-1.5.1.2.tar.bz2;
sha256 = "0a7nnw9631h6nxk7sny0cjv89qlibilvsm6947620vr2kgc6p6k2";
url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
sha256 = "0ab63s25wzmsl5inp7bykz5ac7xjilqa0ciaz7ydhciymz6gkawj";
};
buildInputs = [curl openssl zlib expat];
preBuild = "
makeFlagsArray=(prefix=$out PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell})
";
makeFlags="prefix=\${out} PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell}";
meta = {
license = "GPL2";
homepage = http://git.or.cz;
description = "A popular version control system designed to handle very
large projects with speed and efficiency";
};
}