text-engine: remove the json-glib dependency

This commit is contained in:
Pavel Sobolev
2024-12-30 18:01:39 +03:00
parent 81da8104df
commit 25ba6fc463

View File

@@ -36,10 +36,15 @@ stdenv.mkDerivation rec {
buildInputs = [
libadwaita
json-glib
libxml2
];
postPatch = ''
# See https://github.com/mjakeman/text-engine/pull/42
substituteInPlace src/meson.build \
--replace-fail "dependency('json-glib-1.0')," ""
'';
meta = {
description = "Rich text framework for GTK";
mainProgram = "text-engine-demo";