Merge pull request #112496 from 06kellyjac/just

This commit is contained in:
Sandro 2021-02-09 11:46:01 +01:00 committed by GitHub
commit a3c9a0ecf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,25 +2,26 @@
rustPlatform.buildRustPackage rec {
pname = "just";
version = "0.8.3";
version = "0.8.4";
src = fetchFromGitHub {
owner = "casey";
repo = pname;
rev = "v${version}";
sha256 = "4B72VYQ+HBvhGQNl577DuZpvWNIvv/6fejRQtVKtFKY=";
sha256 = "sha256-K8jeX1/Wn6mbf48GIR2wRAwiwg1rxtbtCPjjH+4dPYw=";
};
cargoSha256 = "uOOpDRWPSoH49NTu82rDxxDR/2icoe4ECxVQb/J/45w=";
cargoSha256 = "sha256-a9SBeX3oesdoC5G+4dK2tbt+W7VA4jPqCM9tOAex4DI=";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage man/just.1
installShellCompletion --bash --name just.bash completions/just.bash
installShellCompletion --fish --name just.fish completions/just.fish
installShellCompletion --zsh --name _just completions/just.zsh
installShellCompletion --cmd just \
--bash completions/just.bash \
--fish completions/just.fish \
--zsh completions/just.zsh
'';
checkInputs = [ coreutils bash ];