2018-12-02 12:41:15 +01:00
|
|
|
{ stdenv, fetchurl, meson, ninja, vala, gobject-introspection, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
2019-03-11 19:39:52 +01:00
|
|
|
, librsvg, gettext, itstool, python3, libxml2, libgnome-games-support, libgee, desktop-file-utils }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gnome-mines";
|
2020-03-08 11:57:44 +01:00
|
|
|
version = "3.36.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://gnome/sources/gnome-mines/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-03-08 11:57:44 +01:00
|
|
|
sha256 = "0m53ymxbgr3rb3yv13fzjwqh6shsfr51abkm47rchsy2jryqkzja";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-12-02 12:41:15 +01:00
|
|
|
# gobject-introspection for finding vapi files
|
2019-03-11 19:39:52 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja vala gobject-introspection pkgconfig gettext itstool python3
|
|
|
|
libxml2 wrapGAppsHook desktop-file-utils
|
|
|
|
];
|
2019-02-13 22:47:50 +01:00
|
|
|
buildInputs = [ gtk3 librsvg gnome3.adwaita-icon-theme libgnome-games-support libgee ];
|
2018-03-14 06:11:34 +01:00
|
|
|
|
|
|
|
postPatch = ''
|
2019-03-11 19:39:52 +01:00
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
2018-03-14 06:11:34 +01:00
|
|
|
'';
|
|
|
|
|
2018-02-25 21:07:20 +01:00
|
|
|
passthru = {
|
2018-03-14 06:11:34 +01:00
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-mines";
|
|
|
|
attrPath = "gnome3.gnome-mines";
|
|
|
|
};
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Mines;
|
|
|
|
description = "Clear hidden mines from a minefield";
|
|
|
|
maintainers = gnome3.maintainers;
|
2016-11-24 12:52:28 +01:00
|
|
|
license = licenses.gpl3;
|
2016-09-18 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|