2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
|
|
|
, librsvg, gettext, itstool, libxml2
|
2020-11-12 09:05:59 +00:00
|
|
|
, meson, ninja, glib, vala, desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-mahjongg";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "3.38.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-mahjongg/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
meson ninja vala desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
pkgconfig gnome3.adwaita-icon-theme
|
|
|
|
libxml2 itstool gettext wrapGAppsHook
|
2020-11-12 09:05:59 +00:00
|
|
|
glib # for glib-compile-schemas
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
librsvg
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Mahjongg";
|
|
|
|
description = "Disassemble a pile of tiles by removing matching pairs";
|
|
|
|
maintainers = teams.gnome.members;
|
2020-11-12 09:05:59 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|