2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, meson, ninja, vala, gobject-introspection, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
2018-09-03 23:00:39 +01:00
|
|
|
, librsvg, gettext, itstool, python3, libxml2, libgnome-games-support, libgee }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "gnome-mines-${version}";
|
2018-09-05 01:47:00 +01:00
|
|
|
version = "3.30.1.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-mines/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-09-05 01:47:00 +01:00
|
|
|
sha256 = "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
# gobject-introspection for finding vapi files
|
|
|
|
nativeBuildInputs = [ meson ninja vala gobject-introspection pkgconfig gettext itstool python3 libxml2 wrapGAppsHook ];
|
2019-02-13 21:47:50 +00:00
|
|
|
buildInputs = [ gtk3 librsvg gnome3.adwaita-icon-theme libgnome-games-support libgee ];
|
2018-03-14 05:11:34 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x data/meson_compile_gschema.py # patchShebangs requires executable file
|
|
|
|
patchShebangs data/meson_compile_gschema.py
|
|
|
|
'';
|
|
|
|
|
2018-02-25 20:07:20 +00:00
|
|
|
passthru = {
|
2018-03-14 05:11:34 +00:00
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-mines";
|
|
|
|
attrPath = "gnome3.gnome-mines";
|
|
|
|
};
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
2016-09-18 20:35:23 +01: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 11:52:28 +00:00
|
|
|
license = licenses.gpl3;
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|