depot/third_party/nixpkgs/pkgs/desktops/gnome-3/games/tali/default.nix
Default email 07b8fe0546 Project import generated by Copybara.
GitOrigin-RevId: 916ee862e87ac5ee2439f2fb7856386b4dc906ae
2021-03-12 08:09:13 +01:00

38 lines
1.1 KiB
Nix

{ lib, stdenv, fetchurl, pkg-config, gtk3, gnome3, gdk-pixbuf
, librsvg, libgnome-games-support, gettext, itstool, libxml2, wrapGAppsHook
, meson, ninja, python3, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "tali";
version = "3.38.3";
src = fetchurl {
url = "mirror://gnome/sources/tali/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "AhVCi1DEoIJ/sN4uTmum5WZ4+bp22NJbfuyoUhXyWjk=";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "tali"; attrPath = "gnome3.tali"; };
};
nativeBuildInputs = [
meson ninja python3 desktop-file-utils
pkg-config gnome3.adwaita-icon-theme
libxml2 itstool gettext wrapGAppsHook
];
buildInputs = [ gtk3 gdk-pixbuf librsvg libgnome-games-support ];
postPatch = ''
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
'';
meta = with 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;
};
}