From 8eea9bd9238734592b824cb68053a871f21597ee Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 3 Oct 2020 22:19:33 +0200 Subject: [PATCH] pioneers: 15.4 -> 15.6 --- pkgs/games/pioneers/default.nix | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/pkgs/games/pioneers/default.nix b/pkgs/games/pioneers/default.nix index a3a80d896c15..882303ab0232 100644 --- a/pkgs/games/pioneers/default.nix +++ b/pkgs/games/pioneers/default.nix @@ -1,20 +1,30 @@ -{stdenv, fetchurl, gtk3, pkgconfig, intltool } : +{ stdenv +, fetchurl +, pkg-config +, intltool +, itstool +, gtk3 +, libxml2 +}: stdenv.mkDerivation rec { - name = "pioneers-15.4"; + pname = "pioneers"; + version = "15.6"; + src = fetchurl { - url = "mirror://sourceforge/pio/${name}.tar.gz"; - sha256 = "1p1d18hrfmqcnghip3shkzcs5qkz6j99jvkdkqfi7pqdvjc323cs"; + url = "mirror://sourceforge/pio/${pname}-${version}.tar.gz"; + sha256 = "07b3xdd81n8ybsb4fzc5lx0813y9crzp1hj69khncf4faj48sdcs"; }; - nativeBuildInputs = [ pkgconfig intltool ]; - buildInputs = [ gtk3 ]; + nativeBuildInputs = [ pkg-config intltool itstool ]; - meta = { - homepage = "http://pio.sourceforge.net/"; - license = stdenv.lib.licenses.gpl2Plus; + buildInputs = [ gtk3 libxml2 ]; + + meta = with stdenv.lib; { description = "Addicting game based on The Settlers of Catan"; - maintainers = with stdenv.lib.maintainers; [viric]; - platforms = with stdenv.lib.platforms; linux; + homepage = "http://pio.sourceforge.net/"; # https does not work + license = licenses.gpl2Plus; + maintainers = with maintainers; [ viric ]; + platforms = platforms.linux; }; }