2019-05-22 12:03:39 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf
|
2019-03-11 17:52:39 +00:00
|
|
|
, librsvg, gettext, itstool, libxml2, wrapGAppsHook
|
|
|
|
, meson, ninja, python3, desktop-file-utils
|
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "tali";
|
2019-08-21 04:23:57 +01:00
|
|
|
version = "3.32.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://gnome/sources/tali/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-08-21 04:23:57 +01:00
|
|
|
sha256 = "0na7sswfh63wj44aibcnqdsbb24yfngcwgi07lv8rky6rry0kqgz";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "tali"; attrPath = "gnome3.tali"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2019-03-11 17:52:39 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja python3 desktop-file-utils
|
|
|
|
pkgconfig gnome3.adwaita-icon-theme
|
|
|
|
libxml2 itstool gettext wrapGAppsHook
|
|
|
|
];
|
2019-05-22 12:03:39 +01:00
|
|
|
buildInputs = [ gtk3 gdk-pixbuf librsvg ];
|
2016-09-18 20:35:23 +01: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 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Tali;
|
|
|
|
description = "Sort of poker with dice and less money";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|