2024-08-11 16:34:09 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
fetchpatch,
|
|
|
|
pkg-config,
|
|
|
|
gnome,
|
|
|
|
adwaita-icon-theme,
|
|
|
|
gtk3,
|
|
|
|
wrapGAppsHook3,
|
|
|
|
librsvg,
|
|
|
|
gsound,
|
|
|
|
gettext,
|
|
|
|
itstool,
|
|
|
|
libxml2,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
vala,
|
|
|
|
python3,
|
|
|
|
desktop-file-utils,
|
2019-03-12 15:42:04 +00:00
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gnome-taquin";
|
2020-10-11 16:39:14 +00:00
|
|
|
version = "3.38.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-08-11 16:34:09 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-taquin/${lib.versions.majorMinor version}/gnome-taquin-${version}.tar.xz";
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-lts9j61JeSSnOQrRCKPvckMqHWLSRWyuXhk0BXAYgU8=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2021-03-25 15:32:01 +00:00
|
|
|
patches = [
|
|
|
|
# Fix build with recent Vala.
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/gnome-taquin/-/commit/99dea5e7863e112f33f16e59898c56a4f1a547b3.patch";
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-U7djuMhb1XJaKAPyogQjaunOkbBK24r25YD7BgH05P4=";
|
2021-03-25 15:32:01 +00:00
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/gnome-taquin/-/commit/66be44dc20d114e449fc33156e3939fd05dfbb16.patch";
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-RN41RCLHlJyXTARSH9qjsmpYi1UFeMRssoYxRsbngDQ=";
|
2021-03-25 15:32:01 +00:00
|
|
|
})
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2019-03-12 15:42:04 +00:00
|
|
|
nativeBuildInputs = [
|
2021-03-25 15:32:01 +00:00
|
|
|
pkg-config
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2021-03-25 15:32:01 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
python3
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
vala
|
|
|
|
desktop-file-utils
|
2019-03-12 15:42:04 +00:00
|
|
|
];
|
2024-08-11 16:34:09 +00:00
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
buildInputs = [
|
2021-03-25 15:32:01 +00:00
|
|
|
gtk3
|
|
|
|
librsvg
|
|
|
|
gsound
|
2024-06-22 12:43:05 +00:00
|
|
|
adwaita-icon-theme
|
2016-09-18 19:35:23 +00:00
|
|
|
];
|
|
|
|
|
2021-03-25 15:32:01 +00:00
|
|
|
passthru = {
|
2024-08-11 16:34:10 +00:00
|
|
|
updateScript = gnome.updateScript { packageName = "gnome-taquin"; };
|
2021-03-25 15:32:01 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-05-01 05:03:10 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-taquin";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Move tiles so that they reach their places";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "gnome-taquin";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2021-03-25 15:32:01 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2022-12-07 19:43:47 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|