opengrok: 0.12.1 (broken) -> 0.12.5

This commit is contained in:
Jean-Pierre PRUNARET 2017-02-14 11:18:03 +01:00 committed by Franz Pletz
parent 1a77e4141d
commit 59639ad8b0

View File

@ -1,11 +1,22 @@
{ fetchurl, stdenv, jre, ctags, makeWrapper, coreutils, git }:
stdenv.mkDerivation rec {
name = "opengrok-0.12.1";
name = "opengrok-${version}";
version = "0.12.5";
# 0.12.5 is the latest distributed as a .tar.gz file.
# Newer are distribued as .zip so a source build is required.
# if builded from source
#src = fetchurl {
# url = "https://github.com/OpenGrok/OpenGrok/archive/${version}.tar.gz";
# sha256 = "01r7ipnj915rnyxyqrnmjfagkip23q5lx9g787qb7qrnbvgfi118";
#};
# binary distribution
src = fetchurl {
url = "http://java.net/projects/opengrok/downloads/download/${name}.tar.gz";
sha256 = "0ihaqgf1z2gsjmy2q96m0s07dpnh92j3ss3myiqjdsh9957fwg79";
url = https://github.com/OpenGrok/OpenGrok/files/213268/opengrok-0.12.1.5.tar.gz;
sha256 = "c3ce079f6ed1526c475cb4b9a7aa901f75507318c93b436d6c14eba4098e4ead";
};
buildInputs = [ makeWrapper ];