summary refs log tree commit diff
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2020-10-03 22:19:33 +0200
committerPavol Rusnak <pavol@rusnak.io>2020-11-23 09:12:57 +0100
commit8eea9bd9238734592b824cb68053a871f21597ee (patch)
tree56bed8755c34ff0459f12b26808a23939b5ca574
parentf94ed4e9689dc84714889791ccee660be761b875 (diff)
downloadnixpkgs-8eea9bd9238734592b824cb68053a871f21597ee.tar
nixpkgs-8eea9bd9238734592b824cb68053a871f21597ee.tar.gz
nixpkgs-8eea9bd9238734592b824cb68053a871f21597ee.tar.bz2
nixpkgs-8eea9bd9238734592b824cb68053a871f21597ee.tar.lz
nixpkgs-8eea9bd9238734592b824cb68053a871f21597ee.tar.xz
nixpkgs-8eea9bd9238734592b824cb68053a871f21597ee.tar.zst
nixpkgs-8eea9bd9238734592b824cb68053a871f21597ee.zip
pioneers: 15.4 -> 15.6
-rw-r--r--pkgs/games/pioneers/default.nix32
1 files changed, 21 insertions, 11 deletions
diff --git a/pkgs/games/pioneers/default.nix b/pkgs/games/pioneers/default.nix
index a3a80d896c1..882303ab023 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 ];
+
+  buildInputs = [ gtk3 libxml2 ];
 
-  meta = {
-    homepage = "http://pio.sourceforge.net/";
-    license = stdenv.lib.licenses.gpl2Plus;
+  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;
   };
 }