2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk3, gnome3, gdk-pixbuf
|
2020-11-12 09:05:59 +00:00
|
|
|
, librsvg, libgnome-games-support, gettext, itstool, libxml2, wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson, ninja, python3, desktop-file-utils
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tali";
|
2021-03-12 07:09:13 +00:00
|
|
|
version = "3.38.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "mirror://gnome/sources/tali/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-12 07:09:13 +00:00
|
|
|
sha256 = "AhVCi1DEoIJ/sN4uTmum5WZ4+bp22NJbfuyoUhXyWjk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "tali"; attrPath = "gnome3.tali"; };
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja python3 desktop-file-utils
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config gnome3.adwaita-icon-theme
|
2020-04-24 23:36:52 +00:00
|
|
|
libxml2 itstool gettext wrapGAppsHook
|
|
|
|
];
|
2020-11-12 09:05:59 +00:00
|
|
|
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-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;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|