2021-05-28 09:39:13 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
pkg-config,
|
|
|
|
gtk3,
|
|
|
|
gnome,
|
|
|
|
gdk-pixbuf,
|
|
|
|
librsvg,
|
|
|
|
libgnome-games-support,
|
|
|
|
gettext,
|
|
|
|
itstool,
|
|
|
|
libxml2,
|
|
|
|
wrapGAppsHook,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
python3,
|
|
|
|
desktop-file-utils,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tali";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "40.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
url = "mirror://gnome/sources/tali/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "g/ugR+3s0ZbTBxmnDi9NCYa7Jswr1flVoKkgDqY/BhI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-05-28 09:39:13 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
python3
|
|
|
|
desktop-file-utils
|
|
|
|
pkg-config
|
|
|
|
gnome.adwaita-icon-theme
|
|
|
|
libxml2
|
|
|
|
itstool
|
|
|
|
gettext
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
gdk-pixbuf
|
|
|
|
librsvg
|
|
|
|
libgnome-games-support
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Tali";
|
|
|
|
description = "Sort of poker with dice and less money";
|
|
|
|
maintainers = teams.gnome.members;
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|