nixpkgs/pkgs/desktops/gnome/games/aisleriot/default.nix

77 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv
2020-08-17 17:30:58 +02:00
, fetchFromGitLab
2021-05-12 13:40:41 +02:00
, nix-update-script
2020-08-17 17:30:58 +02:00
, pkg-config
, itstool
, gtk3
, wrapGAppsHook
, meson
, librsvg
, libxml2
, desktop-file-utils
, pysolfc
, guile
, libcanberra-gtk3
, ninja
, appstream-glib
, yelp-tools
}:
stdenv.mkDerivation rec {
pname = "aisleriot";
2021-06-14 19:01:21 +02:00
version = "3.22.17";
2020-08-17 17:30:58 +02:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
2020-08-17 17:30:58 +02:00
owner = "GNOME";
repo = pname;
rev = version;
2021-06-14 19:01:21 +02:00
sha256 = "sha256-14z/EdEz1XFDrQZlpoeHW73G187XuZX/uQXp+bAUsmI=";
};
2020-08-17 17:30:58 +02:00
nativeBuildInputs = [
wrapGAppsHook
meson
ninja
appstream-glib
pkg-config
itstool
libxml2
desktop-file-utils
yelp-tools
2018-07-10 00:34:32 +02:00
];
2020-08-17 17:30:58 +02:00
buildInputs = [
gtk3
librsvg
guile
libcanberra-gtk3
pysolfc
];
prePatch = ''
patchShebangs cards/meson_svgz.sh
patchShebangs data/meson_desktopfile.py
patchShebangs data/icons/meson_updateiconcache.py
patchShebangs src/lib/meson_compileschemas.py
'';
mesonFlags = [
"-Dtheme_kde=false"
];
2018-07-10 00:34:32 +02:00
passthru = {
2021-05-12 13:40:41 +02:00
updateScript = nix-update-script {
attrPath = "gnome.${pname}";
2018-07-10 00:34:32 +02:00
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Aisleriot";
description = "A collection of patience games written in guile scheme";
maintainers = teams.gnome.members;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}