Unverified Commit 95a25c29 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #315364 from chewblacka/fix-sway-contrib.grimshot

sway-contrib.grimshot: 0-unstable-2024-01-20 -> 0-unstable-2024-03-19
parents 0259e378 aceaa9ed
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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
        ] }"
  '';