gnome-nibbles: 4.1.0 → 4.2.rc6
https://gitlab.gnome.org/GNOME/gnome-nibbles/-/compare/4.1.0...4.2.rc6 Changelog-Reviewed-By: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
gtk4,
|
||||
wrapGAppsHook4,
|
||||
librsvg,
|
||||
gsound,
|
||||
gettext,
|
||||
itstool,
|
||||
vala,
|
||||
@@ -22,11 +21,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-nibbles";
|
||||
version = "4.1.0";
|
||||
version = "4.2.rc6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-nibbles/${lib.versions.majorMinor finalAttrs.version}/gnome-nibbles-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-YyQb2KFfWRgKYYEgQeLo85hiJn3J5lLz0XNULFUNkpI=";
|
||||
hash = "sha256-CfDIsjToOBxgJGXAMLDMoNoL1ylQEaFPo5dS37lh4B4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -44,12 +43,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
gtk4
|
||||
librsvg
|
||||
gsound
|
||||
libadwaita
|
||||
libgee
|
||||
libgnome-games-support_2_0
|
||||
];
|
||||
|
||||
# The "we can link with libadwaita?" valac.links() check fails otherwise.
|
||||
# Command line: `valac testfile.vala --pkg=libadwaita-1 --Xcc=-w --Xcc=-DVALA_STRICT_C` -> 1
|
||||
# testfile.vala.c:50:46: error: passing argument 2 of 'adw_about_dialog_set_developers'
|
||||
# from incompatible pointer type [-Wincompatible-pointer-types]
|
||||
# 50 | adw_about_dialog_set_developers (ad, s);
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript { packageName = "gnome-nibbles"; };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user