2019-05-22 12:03:39 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf, librsvg, wrapGAppsHook
|
2019-06-16 20:59:06 +01:00
|
|
|
, itstool, libcanberra-gtk3, libxml2
|
2019-03-11 18:40:53 +00:00
|
|
|
, meson, ninja, python3, vala, desktop-file-utils
|
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "iagno-${version}";
|
2019-03-11 18:40:53 +00:00
|
|
|
version = "3.32.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-11 18:40:53 +00:00
|
|
|
sha256 = "1rcqb4gpam16xw87n4q2akkrg94ksrn16ry21pr6bsd7qs7hw17d";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2019-03-11 18:40:53 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja python3 vala desktop-file-utils
|
|
|
|
pkgconfig wrapGAppsHook itstool libxml2
|
|
|
|
];
|
2019-05-22 12:03:39 +01:00
|
|
|
buildInputs = [ gtk3 gnome3.adwaita-icon-theme gdk-pixbuf librsvg libcanberra-gtk3 ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-09-05 01:50:08 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "iagno";
|
|
|
|
attrPath = "gnome3.iagno";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|