2021-01-17 03:21:50 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook
|
2019-03-11 18:47:52 +01:00
|
|
|
, libxml2, gettext, itstool, meson, ninja, python3
|
|
|
|
, vala, desktop-file-utils
|
|
|
|
}:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gnome-tetravex";
|
2020-11-28 00:51:09 +01:00
|
|
|
version = "3.38.2";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 14:21:58 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-tetravex/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-11-28 00:51:09 +01:00
|
|
|
sha256 = "06wihvqp2p52zd2dnknsc3rii69qib4a30yp15h558xrg44z3k8z";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gnome-tetravex"; attrPath = "gnome3.gnome-tetravex"; };
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2019-03-11 18:47:52 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
wrapGAppsHook itstool libxml2 gnome3.adwaita-icon-theme
|
2021-01-17 03:21:50 +01:00
|
|
|
pkg-config gettext meson ninja python3 vala desktop-file-utils
|
2019-03-11 18:47:52 +01:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
buildInputs = [
|
2019-03-11 18:47:52 +01:00
|
|
|
gtk3
|
2016-09-18 21:35:23 +02:00
|
|
|
];
|
|
|
|
|
2019-03-11 18:47:52 +01:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Tetravex";
|
2016-09-18 21:35:23 +02:00
|
|
|
description = "Complete the puzzle by matching numbered tiles";
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|