3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome/games/tali/default.nix

70 lines
1.2 KiB
Nix
Raw Normal View History

{
lib,
stdenv,
fetchurl,
pkg-config,
gtk3,
gnome,
gdk-pixbuf,
librsvg,
libgnome-games-support,
gettext,
itstool,
libxml2,
wrapGAppsHook,
meson,
ninja,
python3,
desktop-file-utils,
2019-03-11 17:52:39 +00:00
}:
stdenv.mkDerivation rec {
pname = "tali";
2022-01-31 06:46:07 +00:00
version = "40.5";
src = fetchurl {
2021-03-21 07:30:14 +00:00
url = "mirror://gnome/sources/tali/${lib.versions.major version}/${pname}-${version}.tar.xz";
2022-01-31 06:46:07 +00:00
sha256 = "Y6CcVeRqGhl1a/XglXyvmUMA+tq9umvaYC5mjfzfcSI=";
};
2019-03-11 17:52:39 +00:00
nativeBuildInputs = [
meson
ninja
python3
desktop-file-utils
pkg-config
gnome.adwaita-icon-theme
libxml2
itstool
gettext
wrapGAppsHook
];
buildInputs = [
gtk3
gdk-pixbuf
librsvg
libgnome-games-support
2019-03-11 17:52:39 +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
'';
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
attrPath = "gnome.${pname}";
};
};
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.gpl2Plus;
platforms = platforms.linux;
};
}