2021-05-07 21:18:14 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk3, gnome, gdk-pixbuf
|
2020-08-25 07:32:54 +00:00
|
|
|
, librsvg, libgnome-games-support, gettext, itstool, libxml2, wrapGAppsHook
|
2019-03-11 17:52:39 +00:00
|
|
|
, meson, ninja, python3, desktop-file-utils
|
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tali";
|
2021-03-21 07:30:14 +00:00
|
|
|
version = "40.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-21 07:30:14 +00:00
|
|
|
url = "mirror://gnome/sources/tali/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "19gic6yjg3bg6jf87zvhm7ihsz1y58dz86p4x3a16xdhjyrk40q2";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript { packageName = "tali"; attrPath = "gnome.tali"; };
|
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 = [
|
|
|
|
meson ninja python3 desktop-file-utils
|
2021-05-07 21:18:14 +00:00
|
|
|
pkg-config gnome.adwaita-icon-theme
|
2019-03-11 17:52:39 +00:00
|
|
|
libxml2 itstool gettext wrapGAppsHook
|
|
|
|
];
|
2020-08-25 07:32:54 +00:00
|
|
|
buildInputs = [ gtk3 gdk-pixbuf librsvg libgnome-games-support ];
|
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-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Tali";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Sort of poker with dice and less money";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 19:35:23 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|