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

sway-contrib.grimshot: 0-unstable-2024-01-20 -> 0-unstable-2024-03-19
This commit is contained in:
Nick Cao 2024-06-05 15:47:42 -04:00 committed by GitHub
commit 95a25c29af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
] }"
'';