diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-11-20 20:42:28 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-11-20 20:42:28 -0800 |
| commit | 777de594523e5307b5cff7e91f501b4b7ed3afad (patch) | |
| tree | 3633d7cd4ab1feb8c75b6ccf13bd22a2337735e8 | |
| parent | abffab71a9d378e65d4c591c1b84524d8c0d556a (diff) | |
flameshot: downgrade (major issue in current release)
| -rw-r--r-- | overlays/flameshot/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
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 + ]; + }); +} |