Merge pull request #126853 from SuperSandro2000/zoxide

zoxide: 0.7.0 -> 0.7.2
This commit is contained in:
Sandro 2021-06-15 12:46:18 +02:00 committed by GitHub
commit b17b8bb89a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,13 +10,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "zoxide"; pname = "zoxide";
version = "0.7.0"; version = "0.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ajeetdsouza"; owner = "ajeetdsouza";
repo = "zoxide"; repo = "zoxide";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-yunKyCjJ/vWUcsodweLmxv0+QJQI2i5u5VIzp2U+VyU="; sha256 = "sha256-M83J28aG4NACBZtCJzYNU7aYNTJILAboaDv5aAo35OM=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -28,10 +28,14 @@ rustPlatform.buildRustPackage rec {
--replace '"fzf"' '"${fzf}/bin/fzf"' --replace '"fzf"' '"${fzf}/bin/fzf"'
''; '';
cargoSha256 = "sha256-eoal6z4wX1pNdAJfdamJgOSFCvGWdbVlq1X+vD9lraE="; cargoSha256 = "sha256-aF0vdudOFBcDrHpgsS7+HNE70GTNPdBOmbvQhLwmsM0=";
postInstall = '' postInstall = ''
installManPage man/* installManPage man/*
installShellCompletion --cmd zoxide \
--bash contrib/completions/zoxide.bash \
--fish contrib/completions/zoxide.fish \
--zsh contrib/completions/_zoxide
''; '';
meta = with lib; { meta = with lib; {