about summary refs log tree commit diff
path: root/pkgs/tools/misc/flameshot
diff options
context:
space:
mode:
authorRyan Horiguchi <ryan.horiguchi@gmail.com>2022-01-15 12:38:49 +0100
committerRyan Horiguchi <ryan.horiguchi@gmail.com>2022-01-15 12:38:49 +0100
commit499c06a14fc11ac144f5f35ec3686470d5ccf522 (patch)
treecfb19deee505763482fe9f25b216f08bbf14f5f7 /pkgs/tools/misc/flameshot
parentb65da092044b172f229bc611eabcbe212a1018c1 (diff)
flameshot: 0.10.2 -> 11.0.0
Diffstat (limited to 'pkgs/tools/misc/flameshot')
-rw-r--r--pkgs/tools/misc/flameshot/default.nix22
1 files changed, 2 insertions, 20 deletions
diff --git a/pkgs/tools/misc/flameshot/default.nix b/pkgs/tools/misc/flameshot/default.nix
index 1c0fd19ad2aa9..82cf7a3b78fd9 100644
--- a/pkgs/tools/misc/flameshot/default.nix
+++ b/pkgs/tools/misc/flameshot/default.nix
@@ -1,7 +1,6 @@
 { mkDerivation
 , lib
 , fetchFromGitHub
-, fetchpatch
 , qtbase
 , cmake
 , qttools
@@ -11,32 +10,15 @@
 
 mkDerivation rec {
   pname = "flameshot";
-  version = "0.10.2";
+  version = "11.0.0";
 
   src = fetchFromGitHub {
     owner = "flameshot-org";
     repo = "flameshot";
     rev = "v${version}";
-    sha256 = "sha256-rZUiaS32C77tFJmEkw/9MGbVTVscb6LOCyWaWO5FyR4=";
+    sha256 = "sha256-SlnEXW3Uhdgl0icwYyYsKQOcYkAtHpAvL6LMXBF2gWM=";
   };
 
-  patches = [
-    # Use absolute install path for `Exec=` in the desktop file.
-    # This is required since KWin relies on absolute paths in `Exec=` to find a process'
-    # corresponding desktop file and check if it's allowed to take screenshot.
-    # Should be removed when the next release comes out.
-    (fetchpatch {
-      url = "https://github.com/flameshot-org/flameshot/commit/1031980ed1e62d24d7f719998b7951d48801e3fa.patch";
-      sha256 = "sha256-o8Zz/bBvitXMDFt5rAfubiUPOx+EQ+ITgrfnFM3dFjE=";
-    })
-    # Fix autostart write path.
-    # Should be removed when the next release comes out.
-    (fetchpatch {
-      url = "https://github.com/flameshot-org/flameshot/commit/7977cbb52c2d785abd0d85d9df5991e8f7cae441.patch";
-      sha256 = "sha256-wWa9Y+4flBiggOMuX7KQyL+q3f2cALGeQBGusX2x6sk=";
-    })
-  ];
-
   passthru = {
     updateScript = nix-update-script {
       attrPath = pname;