golly: 2.8 -> 3.1

This commit is contained in:
Michael Raskin 2017-11-11 14:09:36 +01:00
parent 59b00f8766
commit eaaaebe00a

View File

@ -1,24 +1,17 @@
{stdenv, fetchurl, wxGTK, perl, python2, zlib, mesa, libX11}: {stdenv, fetchurl, wxGTK, perl, python2, zlib, mesa, libX11}:
let stdenv.mkDerivation rec {
s = # Generated upstream information
rec {
baseName="golly"; baseName="golly";
version="2.8"; version = "3.1";
name="${baseName}-${version}"; name="${baseName}-${version}";
hash="0a4vn2hm7h4b47v2iwip1z3n9y8isf79v08aipl2iqms2m3p5204";
url="mirror://sourceforge/project/golly/golly/golly-2.8/golly-2.8-src.tar.gz"; src = fetchurl {
sha256="0a4vn2hm7h4b47v2iwip1z3n9y8isf79v08aipl2iqms2m3p5204"; sha256 = "0dn74k3rylhx023n047lz4z6qrqijfcxi0b6jryqklhmm2n532f7";
url="mirror://sourceforge/project/golly/golly/golly-${version}/golly-${version}-src.tar.gz";
}; };
buildInputs = [ buildInputs = [
wxGTK perl python2 zlib mesa libX11 wxGTK perl python2 zlib mesa libX11
]; ];
in
stdenv.mkDerivation rec {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
setSourceRoot = '' setSourceRoot = ''
sourceRoot=$(echo */gui-wx/configure) sourceRoot=$(echo */gui-wx/configure)
@ -37,7 +30,7 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
inherit (s) version; inherit version;
description = "Cellular automata simulation program"; description = "Cellular automata simulation program";
license = stdenv.lib.licenses.gpl2; license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.raskin]; maintainers = [stdenv.lib.maintainers.raskin];