aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/games/pioneers/default.nix
blob: 882303ab023280141ac61148899a5d8043ca0bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv
, fetchurl
, pkg-config
, intltool
, itstool
, gtk3
, libxml2
}:

stdenv.mkDerivation rec {
  pname = "pioneers";
  version = "15.6";

  src = fetchurl {
    url = "mirror://sourceforge/pio/${pname}-${version}.tar.gz";
    sha256 = "07b3xdd81n8ybsb4fzc5lx0813y9crzp1hj69khncf4faj48sdcs";
  };

  nativeBuildInputs = [ pkg-config intltool itstool ];

  buildInputs = [ gtk3 libxml2 ];

  meta = with stdenv.lib; {
    description = "Addicting game based on The Settlers of Catan";
    homepage = "http://pio.sourceforge.net/";  # https does not work
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ viric ];
    platforms = platforms.linux;
  };
}