cambalache: 0.10.3 → 0.12.1

https://gitlab.gnome.org/jpu/cambalache/-/compare/0.10.3...0.12.1
This commit is contained in:
Bobby Rong 2023-06-20 23:22:19 +08:00
parent c1392fba87
commit c69533db40
No known key found for this signature in database

View file

@ -12,24 +12,27 @@
, glib
, gtk3
, gtk4
, gtksourceview4
, libadwaita
, libhandy
, webkitgtk
, webkitgtk_4_1
, webkitgtk_6_0
, nix-update-script
}:
python3.pkgs.buildPythonApplication rec {
pname = "cambalache";
version = "0.10.3";
version = "0.12.1";
format = "other";
# Did not fetch submodule since it is only for tests we don't run.
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "jpu";
repo = pname;
rev = version;
sha256 = "sha256-Xm8h3BBRibdLCeI/OeprF5dCCiNrfJCg7aE24uleCds=";
sha256 = "sha256-kGCpccWIhaeWrzLlrDI7Vzd0KuAIKxvLrDuSqWtpSLU=";
};
nativeBuildInputs = [
@ -51,7 +54,9 @@ python3.pkgs.buildPythonApplication rec {
glib
gtk3
gtk4
webkitgtk
gtksourceview4
webkitgtk_4_1
webkitgtk_6_0
# For extra widgets support.
libadwaita
libhandy
@ -63,7 +68,7 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
patchShebangs postinstall.py
# those programs are used at runtime not build time
# https://gitlab.gnome.org/jpu/cambalache/-/blob/main/meson.build#L79-80
# https://gitlab.gnome.org/jpu/cambalache/-/blob/0.12.1/meson.build#L79-80
substituteInPlace ./meson.build \
--replace "find_program('broadwayd', required: true)" "" \
--replace "find_program('gtk4-broadwayd', required: true)" ""