diff options
Diffstat (limited to 'overlays/flameshot')
| -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 + ]; + }); +} |