cgit: update from 0.9.2 to 0.10

This commit is contained in:
Bjørn Forsman 2014-01-19 21:42:57 +01:00
parent e3c80f19cf
commit 8c25a73def

View file

@ -1,20 +1,20 @@
{ stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt, docbook_xml_xslt }:
stdenv.mkDerivation rec {
name = "cgit-0.9.2";
name = "cgit-0.10";
src = fetchurl {
url = "http://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
sha256 = "0q177q1r7ssna32c760l4dx6p4aaz6kdv27zn2jb34bx98045h08";
sha256 = "0ynywva0lrsasdm3nlk3dmd8k5bnrd9qlvmk4n42dfw9g1xj5i4h";
};
# cgit is is tightly coupled with git and needs a git source tree to build.
# The cgit-0.9.2 Makefile has GIT_VER = 1.8.3, 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
# bump.
gitSrc = fetchurl {
url = https://git-core.googlecode.com/files/git-1.8.3.tar.gz;
sha256 = "0fn5xdx30dl8dl1cdpqif5hgc3qnxlqfpwyhm0sm1wgqhgbcdlzi";
url = https://git-core.googlecode.com/files/git-1.8.5.tar.gz;
sha256 = "08vbq8y3jx1da417hkqmrkdkysac1sqjvrjmaj1v56dmkghm43w7";
};
buildInputs = [ openssl zlib asciidoc libxml2 libxslt docbook_xml_xslt ];