2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf
|
|
|
|
, librsvg, gettext, itstool, libxml2, wrapGAppsHook
|
|
|
|
, meson, ninja, python3, desktop-file-utils
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tali";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "3.36.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/tali/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "12h6783m4634zzprlk31j0dmvgzrfjklhl0z49fdwcziw5bszr3c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "tali"; attrPath = "gnome3.tali"; };
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja python3 desktop-file-utils
|
|
|
|
pkgconfig gnome3.adwaita-icon-theme
|
|
|
|
libxml2 itstool gettext wrapGAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [ gtk3 gdk-pixbuf librsvg ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Tali";
|
|
|
|
description = "Sort of poker with dice and less money";
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|