summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/flameshot-once/flameshot/default.nix
blob: 43cfdb00ddb04bb7ade7383831635b12b7ec8782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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
    ./flameshot-12.applauncher.patch
  ];
})