summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-and-tools/cgit
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-04-13 00:47:14 -0500
committerAustin Seipp <aseipp@pobox.com>2014-04-13 00:47:16 -0500
commit2661400d2a404581556d09f06e988fcfe5e0805d (patch)
tree04bada1cc10aea1ef805dcf5592017de9440fe18 /pkgs/applications/version-management/git-and-tools/cgit
parent399d7839ef84569060320249b0876399523be5d1 (diff)
downloadnixpkgs-2661400d2a404581556d09f06e988fcfe5e0805d.tar
nixpkgs-2661400d2a404581556d09f06e988fcfe5e0805d.tar.gz
nixpkgs-2661400d2a404581556d09f06e988fcfe5e0805d.tar.bz2
nixpkgs-2661400d2a404581556d09f06e988fcfe5e0805d.tar.lz
nixpkgs-2661400d2a404581556d09f06e988fcfe5e0805d.tar.xz
nixpkgs-2661400d2a404581556d09f06e988fcfe5e0805d.tar.zst
nixpkgs-2661400d2a404581556d09f06e988fcfe5e0805d.zip
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>
Diffstat (limited to 'pkgs/applications/version-management/git-and-tools/cgit')
-rw-r--r--pkgs/applications/version-management/git-and-tools/cgit/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/cgit/default.nix b/pkgs/applications/version-management/git-and-tools/cgit/default.nix
index 8a1201815ae..47fa80cb901 100644
--- a/pkgs/applications/version-management/git-and-tools/cgit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/cgit/default.nix
@@ -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 = [