depot/third_party/nixpkgs/pkgs/desktops/gnome-3/games/tali/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

38 lines
1.1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf
, librsvg, gettext, itstool, libxml2, wrapGAppsHook
, meson, ninja, python3, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "tali";
version = "3.36.1";
src = fetchurl {
url = "mirror://gnome/sources/tali/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1klnxk49rr1m2lr4zj1wvfl0iaxzdh2k8ngrcmfmcq39vlxnn94y";
};
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;
};
}