19 , gobject-introspection
43 stdenv.mkDerivation rec {
47 src = fetchFromGitLab {
51 sha256 = "hz2WSDOjriQSavFlDT+35x1X5MeInq80ZrSP1WR/td0=";
55 # Fix build with meson 0.61, can be removed on next update
56 # https://gitlab.com/entangle/entangle/-/issues/67
58 url = "https://gitlab.com/entangle/entangle/-/commit/54795d275a93e94331a614c8712740fcedbdd4f0.patch";
59 sha256 = "iEgqGjKa0xwSdctwvNdEV361l9nx+bz53xn3fuDgtzY=";
69 perl # for pod2man and build scripts
70 python3 # for build scripts
98 pcre # required by libselinux before we USE_PCRE2
99 pcre2 # required by glib-2.0
108 # Disable building of doc/reference since it requires network connection to render XML to HTML
109 # Patch build script shebangs
111 sed -i "/subdir('reference')/d" "docs/meson.build"
112 patchShebangs --build build-aux meson_post_install.py
113 sed -i meson_post_install.py \
114 -e "/print('Update icon cache...')/d" \
115 -e "/gtk-update-icon-cache/d"
119 substituteInPlace "$out/share/applications/org.entangle_photo.Manager.desktop" \
120 --replace "Exec=entangle" "Exec=$out/bin/entangle"
124 description = "Tethered camera control and capture";
126 Entangle uses GTK and libgphoto2 to provide a graphical interface
127 for tethered photography with digital cameras.
128 It includes control over camera shooting and configuration settings
129 and 'hands off' shooting directly from the controlling computer.
130 This app can also serve as a camera app for mobile devices.
132 homepage = "https://gitlab.com/entangle/entangle";
133 license = licenses.gpl3Plus;
134 platforms = platforms.all;
135 maintainers = with maintainers; [ ShamrockLee ];