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

39 lines
1.1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, libxml2, gettext, itstool, meson, ninja, python3
, vala, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "gnome-tetravex";
version = "3.36.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-tetravex/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1xbd0flh77v3x0dh4dsfspykwb6rwvga7kqwn1fq7gk421mq6n52";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-tetravex"; attrPath = "gnome3.gnome-tetravex"; };
};
nativeBuildInputs = [
wrapGAppsHook itstool libxml2 gnome3.adwaita-icon-theme
pkgconfig gettext meson ninja python3 vala desktop-file-utils
];
buildInputs = [
gtk3
];
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/Tetravex";
description = "Complete the puzzle by matching numbered tiles";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}