feat(pkgs): add photocraft 0.7.0

Native buildRustPackage for PhotoCraft, the open-source clean-room
Photoshop reimplementation in pure Rust
(https://github.com/storytold/photocraft).

- builds desktop app + photocraft-cli (convert/batch/MCP) from the
  v0.7.0 release tag
- heif feature enabled for parity with official release builds
  (pure-Rust heic-rs, no native C deps)
- zero buildInputs: the workspace has no native *-sys crates; all
  windowing/graphics/D-Bus access is dlopen'd at runtime and provided
  via LD_LIBRARY_PATH (neovide pattern), incl. dbus.lib so rfd's
  xdg-desktop-portal file dialogs work instead of the zenity fallback
- installs upstream .desktop, hicolor icons (16-512 + svg), AppStream
  metainfo (version/date substituted) and MIME registrations
- passthru.updateScript = nix-update-script; verified with
  'nix-update -F photocraft' (handles version + src hash + cargoHash)

GPU verified on RX 7900 XTX / Wayland after the flake input update.
This commit is contained in:
m3ta-chiron committed 2026-10-11 14:01:12 +02:00
1 parent b857f5d038
commit ebd79d5ca5
3 files changed
+112

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ in {
launch-webapp = pkgs.callPackage ./launch-webapp {};
mem0 = pkgs.callPackage ./mem0 {};
msty-studio = pkgs.callPackage ./msty-studio {};
photocraft = pkgs.callPackage ./photocraft {};
pomodoro-timer = pkgs.callPackage ./pomodoro-timer {};
rofi-project-opener = pkgs.callPackage ./rofi-project-opener {};
stt-ptt = pkgs.callPackage ./stt-ptt {};