about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/games/iagno/default.nix
blob: d31457f868c4ece3cfba5dec244676dd82c8f014 (plain) (blame)
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, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, wrapGAppsHook
, intltool, itstool, libcanberra-gtk3, libxml2, dconf }:

stdenv.mkDerivation rec {
  name = "iagno-${version}";
  version = "3.26.1";

  src = fetchurl {
    url = "mirror://gnome/sources/iagno/${gnome3.versionBranch version}/${name}.tar.xz";
    sha256 = "3476810d0c42aa1600484de2c111c94e0cf5247a98f071b23a0b5e3036362121";
  };

  passthru = {
    updateScript = gnome3.updateScript { packageName = "iagno"; attrPath = "gnome3.iagno"; };
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
                  dconf libxml2 libcanberra-gtk3 wrapGAppsHook itstool intltool ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    homepage = https://wiki.gnome.org/Apps/Iagno;
    description = "Computer version of the game Reversi, more popularly called Othello";
    maintainers = gnome3.maintainers;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}