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:
@@ -4,7 +4,8 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cgit-0.10.1";
|
name = "cgit-${version}";
|
||||||
|
version = "0.10.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
|
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.
|
# 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
|
# IMPORTANT: Remember to check which git version cgit needs on every version
|
||||||
# bump.
|
# 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 {
|
gitSrc = fetchurl {
|
||||||
url = https://git-core.googlecode.com/files/git-1.8.5.tar.gz;
|
url = "https://www.kernel.org/pub/software/scm/git/git-1.9.2.tar.xz";
|
||||||
sha256 = "08vbq8y3jx1da417hkqmrkdkysac1sqjvrjmaj1v56dmkghm43w7";
|
sha256 = "1x4rb06vw4ckdflmn01r5l9spvn7cng4i5mm3sbd0n8cz0n6xz13";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|||||||
Reference in New Issue
Block a user