gnome3.gnome-taquin: fix build with latest Vala
This commit is contained in:
parent
81f75adc01
commit
a94c540eef
@ -1,6 +1,21 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook
|
{ lib
|
||||||
, librsvg, gsound, gettext, itstool, libxml2
|
, stdenv
|
||||||
, meson, ninja, vala, python3, desktop-file-utils
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
|
, pkg-config
|
||||||
|
, gnome3
|
||||||
|
, gtk3
|
||||||
|
, wrapGAppsHook
|
||||||
|
, librsvg
|
||||||
|
, gsound
|
||||||
|
, gettext
|
||||||
|
, itstool
|
||||||
|
, libxml2
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, vala
|
||||||
|
, python3
|
||||||
|
, desktop-file-utils
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -12,24 +27,49 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0kw131q0ad0rbsp6qifjc8fjlhvjxyihil8a76kj8ya9mn7kvnwn";
|
sha256 = "0kw131q0ad0rbsp6qifjc8fjlhvjxyihil8a76kj8ya9mn7kvnwn";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
patches = [
|
||||||
updateScript = gnome3.updateScript { packageName = "gnome-taquin"; attrPath = "gnome3.gnome-taquin"; };
|
# Fix build with recent Vala.
|
||||||
};
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/gnome-taquin/-/commit/99dea5e7863e112f33f16e59898c56a4f1a547b3.patch";
|
||||||
|
sha256 = "U7djuMhb1XJaKAPyogQjaunOkbBK24r25YD7BgH05P4=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/gnome-taquin/-/commit/66be44dc20d114e449fc33156e3939fd05dfbb16.patch";
|
||||||
|
sha256 = "RN41RCLHlJyXTARSH9qjsmpYi1UFeMRssoYxRsbngDQ=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config wrapGAppsHook meson ninja python3
|
pkg-config
|
||||||
gettext itstool libxml2 vala desktop-file-utils
|
wrapGAppsHook
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
python3
|
||||||
|
gettext
|
||||||
|
itstool
|
||||||
|
libxml2
|
||||||
|
vala
|
||||||
|
desktop-file-utils
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 librsvg gsound
|
gtk3
|
||||||
|
librsvg
|
||||||
|
gsound
|
||||||
gnome3.adwaita-icon-theme
|
gnome3.adwaita-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = "gnome-taquin";
|
||||||
|
attrPath = "gnome3.gnome-taquin";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://wiki.gnome.org/Apps/Taquin";
|
homepage = "https://wiki.gnome.org/Apps/Taquin";
|
||||||
description = "Move tiles so that they reach their places";
|
description = "Move tiles so that they reach their places";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user