Merge pull request #112496 from 06kellyjac/just
This commit is contained in:
commit
a3c9a0ecf8
|
@ -2,25 +2,26 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "just";
|
pname = "just";
|
||||||
version = "0.8.3";
|
version = "0.8.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "casey";
|
owner = "casey";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "4B72VYQ+HBvhGQNl577DuZpvWNIvv/6fejRQtVKtFKY=";
|
sha256 = "sha256-K8jeX1/Wn6mbf48GIR2wRAwiwg1rxtbtCPjjH+4dPYw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "uOOpDRWPSoH49NTu82rDxxDR/2icoe4ECxVQb/J/45w=";
|
cargoSha256 = "sha256-a9SBeX3oesdoC5G+4dK2tbt+W7VA4jPqCM9tOAex4DI=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage man/just.1
|
installManPage man/just.1
|
||||||
|
|
||||||
installShellCompletion --bash --name just.bash completions/just.bash
|
installShellCompletion --cmd just \
|
||||||
installShellCompletion --fish --name just.fish completions/just.fish
|
--bash completions/just.bash \
|
||||||
installShellCompletion --zsh --name _just completions/just.zsh
|
--fish completions/just.fish \
|
||||||
|
--zsh completions/just.zsh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ coreutils bash ];
|
checkInputs = [ coreutils bash ];
|
||||||
|
|
Loading…
Reference in New Issue