2024-08-11 16:34:05 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
vala,
|
|
|
|
pkg-config,
|
|
|
|
gnome,
|
|
|
|
adwaita-icon-theme,
|
|
|
|
gtk3,
|
|
|
|
wrapGAppsHook3,
|
|
|
|
librsvg,
|
|
|
|
gettext,
|
|
|
|
itstool,
|
|
|
|
python3,
|
|
|
|
libxml2,
|
|
|
|
libgnome-games-support,
|
|
|
|
libgee,
|
|
|
|
desktop-file-utils,
|
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gnome-mines";
|
2022-02-21 14:31:41 +00:00
|
|
|
version = "40.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-08-11 16:34:05 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-mines/${lib.versions.major version}/gnome-mines-${version}.tar.xz";
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-NQLps/ccs7LnEcDmAZGH/rzCvKh349RW3KtwD3vjEnI=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2019-03-11 18:39:52 +00:00
|
|
|
nativeBuildInputs = [
|
2024-08-11 16:34:05 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
python3
|
|
|
|
libxml2
|
|
|
|
wrapGAppsHook3
|
|
|
|
desktop-file-utils
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
librsvg
|
|
|
|
adwaita-icon-theme
|
|
|
|
libgnome-games-support
|
|
|
|
libgee
|
2019-03-11 18:39:52 +00:00
|
|
|
];
|
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
|
|
|
'';
|
|
|
|
|
2018-02-25 20:07:20 +00:00
|
|
|
passthru = {
|
2024-08-11 16:34:06 +00:00
|
|
|
updateScript = gnome.updateScript { packageName = "gnome-mines"; };
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-05-01 05:03:10 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-mines";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Clear hidden mines from a minefield";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "gnome-mines";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2016-11-24 11:52:28 +00:00
|
|
|
license = licenses.gpl3;
|
2022-12-07 19:43:08 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|