Git 1.5.4.2 + Emacs mode.
svn path=/nixpkgs/trunk/; revision=10766
This commit is contained in:
parent
777768d544
commit
d494e7e709
@ -1,21 +1,31 @@
|
|||||||
args: with args;
|
args: with args;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "git-1.5.4.1";
|
name = "git-1.5.4.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
|
url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
|
||||||
sha256 = "17abc4de0cd46a15ecdd90dfb28edfbaafcd0f0ce7a081c1c4dfae9b2f5b217f";
|
sha256 = "089n3da06k19gzhacsqgaamgx5hy5r50r2b4a626s87w44mj78sn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [curl openssl zlib expat gettext];
|
buildInputs = [curl openssl zlib expat gettext emacs];
|
||||||
|
|
||||||
makeFlags="prefix=\${out} PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell}";
|
makeFlags="prefix=\${out} PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell}";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# Install Emacs mode.
|
||||||
|
echo "installing Emacs mode..."
|
||||||
|
make install -C contrib/emacs prefix="$out"
|
||||||
|
|
||||||
|
# XXX: There are other things under `contrib' that people might want to
|
||||||
|
# install.
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
license = "GPL2";
|
license = "GPLv2";
|
||||||
homepage = http://git.or.cz;
|
homepage = http://git.or.cz;
|
||||||
description = "A popular version control system designed to handle very
|
description = ''Git, a popular distributed version control system
|
||||||
large projects with speed and efficiency";
|
designed to handle very large projects with speed
|
||||||
|
and efficiency.'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -4812,7 +4812,7 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
git = import ../applications/version-management/git {
|
git = import ../applications/version-management/git {
|
||||||
inherit fetchurl stdenv curl openssl zlib expat perl gettext;
|
inherit fetchurl stdenv curl openssl zlib expat perl gettext emacs;
|
||||||
};
|
};
|
||||||
|
|
||||||
gkrellm = import ../applications/misc/gkrellm {
|
gkrellm = import ../applications/misc/gkrellm {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user