1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/desktops/gnome-3/games/gnome-mines/default.nix

40 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, meson, ninja, vala, gobject-introspection, pkgconfig, gnome3, gtk3, wrapGAppsHook
2019-03-11 18:39:52 +00:00
, librsvg, gettext, itstool, python3, libxml2, libgnome-games-support, libgee, desktop-file-utils }:
stdenv.mkDerivation rec {
pname = "gnome-mines";
2020-03-08 10:57:44 +00:00
version = "3.36.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-mines/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-03-08 10:57:44 +00:00
sha256 = "0m53ymxbgr3rb3yv13fzjwqh6shsfr51abkm47rchsy2jryqkzja";
};
# gobject-introspection for finding vapi files
2019-03-11 18:39:52 +00:00
nativeBuildInputs = [
meson ninja vala gobject-introspection pkgconfig gettext itstool python3
libxml2 wrapGAppsHook desktop-file-utils
];
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 = ''
2019-03-11 18:39:52 +00:00
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
2018-03-14 05:11:34 +00:00
'';
passthru = {
2018-03-14 05:11:34 +00:00
updateScript = gnome3.updateScript {
packageName = "gnome-mines";
attrPath = "gnome3.gnome-mines";
};
};
meta = with stdenv.lib; {
homepage = "https://wiki.gnome.org/Apps/Mines";
description = "Clear hidden mines from a minefield";
maintainers = teams.gnome.members;
2016-11-24 11:52:28 +00:00
license = licenses.gpl3;
platforms = platforms.linux;
};
}