flameshot: Include patch to fix wayland/sway scale-issue

This commit is contained in:
Sebastian Sellmeier 2023-06-15 23:00:59 +02:00
parent 1c9db9710c
commit ce6932ffba
No known key found for this signature in database
GPG key ID: 51E2BE0CCC826F98

View file

@ -6,6 +6,7 @@
, qttools
, qtsvg
, nix-update-script
, fetchpatch
}:
mkDerivation rec {
@ -19,6 +20,15 @@ mkDerivation rec {
sha256 = "sha256-omyMN8d+g1uYsEw41KmpJCwOmVWLokEfbW19vIvG79w=";
};
patches = [
# https://github.com/flameshot-org/flameshot/pull/3166
(fetchpatch {
name = "10-fix-wayland.patch";
url = "https://github.com/flameshot-org/flameshot/commit/5fea9144501f7024344d6f29c480b000b2dcd5a6.patch";
sha256 = "sha256-SnjVbFMDKD070vR4vGYrwLw6scZAFaQA4b+MbI+0W9E=";
})
];
passthru = {
updateScript = nix-update-script { };
};