2021-05-22 15:58:56 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
pkg-config,
|
|
|
|
gtk3,
|
|
|
|
gnome,
|
2024-06-22 12:43:05 +00:00
|
|
|
adwaita-icon-theme,
|
2021-05-22 15:58:56 +00:00
|
|
|
gdk-pixbuf,
|
|
|
|
librsvg,
|
|
|
|
libgnome-games-support,
|
|
|
|
gettext,
|
|
|
|
itstool,
|
|
|
|
libxml2,
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3,
|
2021-05-22 15:58:56 +00:00
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
python3,
|
|
|
|
desktop-file-utils,
|
2019-03-11 17:52:39 +00:00
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tali";
|
2023-01-12 12:33:29 +00:00
|
|
|
version = "40.9";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-08-11 16:34:16 +00:00
|
|
|
url = "mirror://gnome/sources/tali/${lib.versions.major version}/tali-${version}.tar.xz";
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-+p7eNm8KcuTKpSGJw6sLEMG1aoDHiFsBZgJVjETc59M=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2019-03-11 17:52:39 +00:00
|
|
|
nativeBuildInputs = [
|
2021-05-22 15:58:56 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
python3
|
|
|
|
desktop-file-utils
|
|
|
|
pkg-config
|
2024-06-22 12:43:05 +00:00
|
|
|
adwaita-icon-theme
|
2021-05-22 15:58:56 +00:00
|
|
|
libxml2
|
|
|
|
itstool
|
|
|
|
gettext
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2021-05-22 15:58:56 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
gdk-pixbuf
|
|
|
|
librsvg
|
|
|
|
libgnome-games-support
|
2019-03-11 17:52:39 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2019-03-11 17:52:39 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
|
|
|
'';
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-05-22 15:58:56 +00:00
|
|
|
passthru = {
|
2024-08-11 16:34:16 +00:00
|
|
|
updateScript = gnome.updateScript { packageName = "tali"; };
|
2021-05-22 15:58:56 +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/tali";
|
2024-10-04 19:35:12 +00:00
|
|
|
changelog = "https://gitlab.gnome.org/GNOME/tali/-/blob/${version}/NEWS?ref_type=tags";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Sort of poker with dice and less money";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "tali";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2021-05-22 15:58:56 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2022-11-29 09:08:55 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|