about summary refs log tree commit diff
path: root/pkgs/applications/misc/sway-contrib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/sway-contrib/default.nix')
-rw-r--r--pkgs/applications/misc/sway-contrib/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/misc/sway-contrib/default.nix b/pkgs/applications/misc/sway-contrib/default.nix
index 4ddca21774e01..b0c8154f2c513 100644
--- a/pkgs/applications/misc/sway-contrib/default.nix
+++ b/pkgs/applications/misc/sway-contrib/default.nix
@@ -9,18 +9,19 @@
 , slurp
 , grim
 , jq
+, gnugrep
 , bash
 
 , python3Packages
 }:
 
 let
-  version = "0-unstable-2024-01-20";
+  version = "0-unstable-2024-03-19";
   src = fetchFromGitHub {
     owner = "OctopusET";
     repo = "sway-contrib";
-    rev = "b7825b218e677c65f6849be061b93bd5654991bf";
-    hash = "sha256-ZTfItJ77mrNSzXFVcj7OV/6zYBElBj+1LcLLHxBFypk=";
+    rev = "5d33a290e3cac3f0fed38ff950939da28e3ebfd7";
+    hash = "sha256-2qYxkXowSSzVcpsPO4JoUqaH/VUkOOWu1RKFXp1CXGs=";
   };
 
   meta = with lib; {
@@ -46,6 +47,7 @@ grimshot = stdenvNoCC.mkDerivation {
   buildInputs = [ bash ];
   installPhase = ''
     installManPage grimshot.1
+    installShellCompletion --cmd grimshot grimshot-completion.bash
 
     install -Dm 0755 grimshot $out/bin/grimshot
     wrapProgram $out/bin/grimshot --set PATH \
@@ -57,6 +59,7 @@ grimshot = stdenvNoCC.mkDerivation {
         slurp
         grim
         jq
+        gnugrep
         ] }"
   '';
 
@@ -71,7 +74,7 @@ grimshot = stdenvNoCC.mkDerivation {
   '';
 
   meta = with lib; meta // {
-    description = "A helper for screenshots within sway";
+    description = "Helper for screenshots within sway";
     maintainers = with maintainers; [ evils ];
     mainProgram = "grimshot";
   };