2020-10-23 05:42:21 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, pkg-config
|
|
|
|
, gtk3
|
|
|
|
, gnome3
|
|
|
|
, gdk-pixbuf
|
|
|
|
, librsvg
|
|
|
|
, wrapGAppsHook
|
|
|
|
, itstool
|
|
|
|
, gsound
|
|
|
|
, libxml2
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, python3
|
|
|
|
, vala
|
|
|
|
, desktop-file-utils
|
2019-03-11 18:40:53 +00:00
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "iagno";
|
2020-07-03 20:50:42 +01:00
|
|
|
version = "3.36.4";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-07-03 20:50:42 +01:00
|
|
|
sha256 = "1fh2cvyqbz8saf2wij0bz2r9bja2k4gy6fqvbvig4gv0lx66gl29";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2020-10-23 05:42:21 +01:00
|
|
|
patches = [
|
|
|
|
# Fix build with Meson 0.55
|
|
|
|
# https://gitlab.gnome.org/GNOME/iagno/-/issues/16
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/iagno/commit/0100bab269f2102f24a6e41202b931da1b6e8dc5.patch";
|
|
|
|
sha256 = "ZW75s+bV45ivwA+SKUN7ejSvnXYEo/kYQjDVvFBA/sg=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-03-11 18:40:53 +00:00
|
|
|
nativeBuildInputs = [
|
2020-10-23 05:42:21 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
desktop-file-utils
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook
|
|
|
|
itstool
|
|
|
|
libxml2
|
2019-03-11 18:40:53 +00:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2020-10-23 05:42:21 +01:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gdk-pixbuf
|
|
|
|
librsvg
|
|
|
|
gsound
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Iagno";
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "Computer version of the game Reversi, more popularly called Othello";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2020-10-23 05:42:21 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|