From 777de594523e5307b5cff7e91f501b4b7ed3afad Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Thu, 20 Nov 2025 20:42:28 -0800 Subject: flameshot: downgrade (major issue in current release) --- overlays/flameshot/default.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 overlays/flameshot/default.nix (limited to 'overlays/flameshot/default.nix') diff --git a/overlays/flameshot/default.nix b/overlays/flameshot/default.nix new file mode 100644 index 0000000..8c6b50e --- /dev/null +++ b/overlays/flameshot/default.nix @@ -0,0 +1,30 @@ +{ ... }: + +#TODO: until https://github.com/flameshot-org/flameshot/issues/4391 is fixed +final: prev: { + flameshot = prev.flameshot.overrideAttrs (old: rec { + version = "12.1.0-unstable-2025-05-04"; + + src = prev.fetchFromGitHub { + owner = "flameshot-org"; + repo = "flameshot"; + rev = "f4cde19c63473f8fadd448ad2056c22f0f847f34"; + hash = "sha256-B/piB8hcZR11vnzvue/1eR+SFviTSGJoek1w4abqsek="; + }; + + patches = []; + + nativeBuildInputs = with prev; [ + cmake + libsForQt5.qttools + libsForQt5.qtsvg + libsForQt5.wrapQtAppsHook + makeBinaryWrapper + ]; + + buildInputs = with prev; [ + libsForQt5.qtbase + libsForQt5.kguiaddons + ]; + }); +} -- cgit v1.2.3