From 500aa05de7e34f6a60639a74017583268f9a829d Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 21 Jun 2022 20:44:59 +0200 Subject: flameshot: pin 0.10.2 --- krebs/5pkgs/override/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'krebs/5pkgs/override/default.nix') diff --git a/krebs/5pkgs/override/default.nix b/krebs/5pkgs/override/default.nix index fe13b4309..1dd694b70 100644 --- a/krebs/5pkgs/override/default.nix +++ b/krebs/5pkgs/override/default.nix @@ -10,6 +10,14 @@ self: super: { }); flameshot = super.flameshot.overrideAttrs (old: rec { + name = "flameshot-${version}"; + version = "0.10.2"; + src = self.fetchFromGitHub { + owner = "flameshot-org"; + repo = "flameshot"; + rev = "v${version}"; + sha256 = "sha256-rZUiaS32C77tFJmEkw/9MGbVTVscb6LOCyWaWO5FyR4="; + }; patches = old.patches or [] ++ { "0.6.0" = [ ./flameshot/flameshot_imgur_0.6.0.patch -- cgit v1.2.3 From 1328a34e51e0a14aae8dbfe6469cc580ee739bce Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 21 Jun 2022 22:56:52 +0200 Subject: flameshot: make imgur great again --- krebs/5pkgs/override/default.nix | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'krebs/5pkgs/override/default.nix') diff --git a/krebs/5pkgs/override/default.nix b/krebs/5pkgs/override/default.nix index 1dd694b70..ae42bc1a3 100644 --- a/krebs/5pkgs/override/default.nix +++ b/krebs/5pkgs/override/default.nix @@ -17,21 +17,10 @@ self: super: { repo = "flameshot"; rev = "v${version}"; sha256 = "sha256-rZUiaS32C77tFJmEkw/9MGbVTVscb6LOCyWaWO5FyR4="; - }; - patches = old.patches or [] ++ { - "0.6.0" = [ - ./flameshot/flameshot_imgur_0.6.0.patch - ]; - "0.9.0" = [ - ./flameshot/flameshot_imgur_0.9.0.patch - ]; - "0.10.1" = [ - ./flameshot/flameshot_imgur_0.9.0.patch - ]; - "0.10.2" = [ - ./flameshot/flameshot_imgur_0.9.0.patch - ]; - }.${old.version} or []; + }; + patches = old.patches or [] ++ [ + ./flameshot/flameshot_imgur_0.10.2.patch + ]; }); # https://github.com/proot-me/PRoot/issues/106 -- cgit v1.2.3