summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/flameshot-once/flameshot/default.nix
blob: f60acef086f609920e7ff3a25d02aa7a51dd3653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs }:

pkgs.flameshot.overrideAttrs (old: rec {
  name = "flameshot-${version}";
  version = "12.1.0-pre";
  src = pkgs.fetchFromGitHub {
    owner = "flameshot-org";
    repo = "flameshot";
    rev = "f7e41f4d708e50eeaec892408069da25a28e04a2";
    hash = "sha256-fZquXY0xSaN1hJgCh16MocIlvxHe1c2Nt+fGF2NIOVw=";
  };
  patches = old.patches or [] ++ [
    ./flameshot-12.imgur.patch
    ./flameshot-12.history.patch
  ];
})