{ pkgs }:

pkgs.flameshot.overrideAttrs (oldAttrs: {
  patches = (oldAttrs.patches or []) ++ [
    ./add-fup.patch
  ];
})