22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
69 lines
1.2 KiB
Nix
69 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
gtk3,
|
|
gnome,
|
|
gdk-pixbuf,
|
|
librsvg,
|
|
libgnome-games-support,
|
|
gettext,
|
|
itstool,
|
|
libxml2,
|
|
wrapGAppsHook,
|
|
meson,
|
|
ninja,
|
|
python3,
|
|
desktop-file-utils,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tali";
|
|
version = "40.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/tali/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
sha256 = "cXqJfV0H4X4K89ZpI/USNhPEEPZSOdqX0JKeScf7C2c=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
python3
|
|
desktop-file-utils
|
|
pkg-config
|
|
gnome.adwaita-icon-theme
|
|
libxml2
|
|
itstool
|
|
gettext
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
gdk-pixbuf
|
|
librsvg
|
|
libgnome-games-support
|
|
];
|
|
|
|
postPatch = ''
|
|
chmod +x build-aux/meson_post_install.py
|
|
patchShebangs build-aux/meson_post_install.py
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
attrPath = "gnome.${pname}";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Apps/Tali";
|
|
description = "Sort of poker with dice and less money";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|