glucose, glucose-syrup: 4.0 -> 4.1

This commit is contained in:
Michael Raskin 2017-11-08 09:55:15 +01:00
parent 2aeb612326
commit 27f7999280
2 changed files with 12 additions and 11 deletions

View File

@ -1,19 +1,21 @@
{ stdenv, fetchurl, zlib }: { stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "glucose-${version}"; name = "glucose-${version}";
version = "4.0"; version = "4.1";
src = fetchurl { src = fetchurl {
url = "http://www.labri.fr/perso/lsimon/downloads/softwares/glucose-syrup.tgz"; url = "http://www.labri.fr/perso/lsimon/downloads/softwares/glucose-syrup-${version}.tgz";
sha256 = "0bq5l2jabhdfhng002qfk0mcj4pfi1v5853x3c7igwfrgx0jmfld"; sha256 = "0aahrkaq7n0z986fpqz66yz946nxardfi6dh8calzcfjpvqiraji";
}; };
buildInputs = [ zlib ]; buildInputs = [ zlib ];
sourceRoot = "glucose-syrup/simp"; sourceRoot = "glucose-syrup-${version}/simp";
makeFlags = [ "r" ]; makeFlags = [ "r" ];
installPhase = '' installPhase = ''
install -Dm0755 glucose_release $out/bin/glucose install -Dm0755 glucose_release $out/bin/glucose
mkdir -p "$out/share/doc/${name}/"
install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${name}/"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,19 +1,18 @@
{ stdenv, fetchurl, zlib }: { stdenv, fetchurl, zlib, glucose }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "glucose-syrup-${version}"; name = "glucose-syrup-${version}";
version = "4.0"; version = glucose.version;
src = fetchurl { src = glucose.src;
url = "http://www.labri.fr/perso/lsimon/downloads/softwares/glucose-syrup.tgz";
sha256 = "0bq5l2jabhdfhng002qfk0mcj4pfi1v5853x3c7igwfrgx0jmfld";
};
buildInputs = [ zlib ]; buildInputs = [ zlib ];
sourceRoot = "glucose-syrup/parallel"; sourceRoot = "glucose-syrup-${version}/parallel";
makeFlags = [ "r" ]; makeFlags = [ "r" ];
installPhase = '' installPhase = ''
install -Dm0755 glucose-syrup_release $out/bin/glucose-syrup install -Dm0755 glucose-syrup_release $out/bin/glucose-syrup
mkdir -p "$out/share/doc/${name}/"
install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${name}/"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {