From 7efaf1e45f47b63fd585b07ced559ca529c6a6e7 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 25 Jan 2023 19:19:04 +0100 Subject: [PATCH] flameshot: move override to tv --- krebs/5pkgs/override/default.nix | 14 -------------- tv/5pkgs/override/flameshot/default.nix | 15 +++++++++++++++ .../flameshot/flameshot_imgur_0.10.2.patch | 0 3 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 tv/5pkgs/override/flameshot/default.nix rename {krebs => tv}/5pkgs/override/flameshot/flameshot_imgur_0.10.2.patch (100%) diff --git a/krebs/5pkgs/override/default.nix b/krebs/5pkgs/override/default.nix index ae42bc1a3..f85f3f678 100644 --- a/krebs/5pkgs/override/default.nix +++ b/krebs/5pkgs/override/default.nix @@ -9,20 +9,6 @@ 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 [] ++ [ - ./flameshot/flameshot_imgur_0.10.2.patch - ]; - }); - # https://github.com/proot-me/PRoot/issues/106 proot = self.writeDashBin "proot" '' export PROOT_NO_SECCOMP=1 diff --git a/tv/5pkgs/override/flameshot/default.nix b/tv/5pkgs/override/flameshot/default.nix new file mode 100644 index 000000000..2f7c5236b --- /dev/null +++ b/tv/5pkgs/override/flameshot/default.nix @@ -0,0 +1,15 @@ +self: super: + +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 [] ++ [ + ./flameshot/flameshot_imgur_0.10.2.patch + ]; +}) diff --git a/krebs/5pkgs/override/flameshot/flameshot_imgur_0.10.2.patch b/tv/5pkgs/override/flameshot/flameshot_imgur_0.10.2.patch similarity index 100% rename from krebs/5pkgs/override/flameshot/flameshot_imgur_0.10.2.patch rename to tv/5pkgs/override/flameshot/flameshot_imgur_0.10.2.patch