nixpkgs/pkgs/by-name/gn/gnome-mines/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

71 lines
1.2 KiB
Nix
Raw Normal View History

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,
}:
stdenv.mkDerivation rec {
pname = "gnome-mines";
2022-02-21 14:31:41 +00:00
version = "40.1";
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";
hash = "sha256-NQLps/ccs7LnEcDmAZGH/rzCvKh349RW3KtwD3vjEnI=";
};
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
'';
passthru = {
updateScript = gnome.updateScript { packageName = "gnome-mines"; };
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/gnome-mines";
description = "Clear hidden mines from a minefield";
mainProgram = "gnome-mines";
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;
};
}