cgit: bump git version to 1.9.2

This also updates the download URL to use kernel.org

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-04-13 00:47:14 -05:00
parent 399d7839ef
commit 2661400d2a

View file

@ -4,7 +4,8 @@
}:
stdenv.mkDerivation rec {
name = "cgit-0.10.1";
name = "cgit-${version}";
version = "0.10.1";
src = fetchurl {
url = "http://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
@ -15,9 +16,11 @@ stdenv.mkDerivation rec {
# The cgit-0.10 Makefile has GIT_VER = 1.8.5, so use that version.
# IMPORTANT: Remember to check which git version cgit needs on every version
# bump.
# NOTE: as of 0.10.1, the git version is compatible from 1.9.0 to
# 1.9.2 (see the repository history)
gitSrc = fetchurl {
url = https://git-core.googlecode.com/files/git-1.8.5.tar.gz;
sha256 = "08vbq8y3jx1da417hkqmrkdkysac1sqjvrjmaj1v56dmkghm43w7";
url = "https://www.kernel.org/pub/software/scm/git/git-1.9.2.tar.xz";
sha256 = "1x4rb06vw4ckdflmn01r5l9spvn7cng4i5mm3sbd0n8cz0n6xz13";
};
buildInputs = [