Merge pull request #165557 from bobby285271/hitori

gnome.hitori: fix build with meson 0.61
This commit is contained in:
Bobby Rong 2022-03-24 16:14:49 +08:00 committed by GitHub
commit 0180033ad8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,7 @@
{ lib, stdenv
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
@ -25,6 +27,15 @@ stdenv.mkDerivation rec {
sha256 = "99cQPLBjP7ATcwExqYw646IWK5+5SZ/H8ZUS1YG/ZWk=";
};
patches = [
# Fix build with meson 0.61
# data/meson.build:3:0: ERROR: Function does not take positional arguments.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/hitori/-/commit/d25728e122f1d7b985029a5ba96810c3e57c27f7.patch";
sha256 = "LwBpFFr+vLacLTpto7PwvO1p2lku6epyEv9YZvUvW+g=";
})
];
nativeBuildInputs = [
meson
ninja