8 , gobject-introspection
21 python3.pkgs.buildPythonApplication rec {
27 src = fetchFromGitLab {
28 domain = "gitlab.gnome.org";
32 sha256 = "sha256-Xm8h3BBRibdLCeI/OeprF5dCCiNrfJCg7aE24uleCds=";
39 gobject-introspection # for setup hook
40 desktop-file-utils # for update-desktop-database
41 shared-mime-info # for update-mime-database
45 pythonPath = with python3.pkgs; [
55 # For extra widgets support.
60 # Not compatible with gobject-introspection setup hooks.
61 # https://github.com/NixOS/nixpkgs/issues/56943
64 # Prevent double wrapping.
68 patchShebangs postinstall.py
72 # Let python wrapper use GNOME flags.
74 # For broadway daemons
75 --prefix PATH : "${lib.makeBinPath [ gtk3 gtk4 ]}"
76 "''${gappsWrapperArgs[@]}"
81 # Wrap a helper script in an unusual location.
82 wrapPythonProgramsIn "$out/${python3.sitePackages}/cambalache/priv/merengue" "$out $pythonPath"
86 updateScript = nix-update-script {
92 homepage = "https://gitlab.gnome.org/jpu/cambalache";
93 description = "RAD tool for GTK 4 and 3 with data model first philosophy";
94 maintainers = teams.gnome.members;
95 license = with licenses; [
96 lgpl21Only # Cambalache
99 platforms = platforms.unix;