3
0
Fork 0
forked from mirrors/nixpkgs

gthumb: Fix build with libraw 0.21

https://hydra.nixos.org/build/209327709/nixlog/1
This commit is contained in:
Bobby Rong 2023-02-14 21:03:27 +08:00
parent 6687f7fe04
commit 5c55ee6e74

View file

@ -1,5 +1,7 @@
{ lib, stdenv
{ stdenv
, lib
, fetchurl
, fetchpatch
, gnome
, pkg-config
, meson
@ -40,6 +42,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-l/iv5SJTUhZUHrvx47VG0Spr6zio8OuF8m5naTSq1CU=";
};
patches = [
# Fix build with libraw 0.21, can be removed on next update
# https://hydra.nixos.org/build/209327709/nixlog/1
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gthumb/-/commit/da0d3f22a5c3a141211d943e7d963d14090011ec.patch";
sha256 = "sha256-/l9US19rKxIUJjZ+oynGLr/9PKJPg9VUuA/VSuIT5AQ=";
})
];
nativeBuildInputs = [
bison
desktop-file-utils