nixpkgs/pkgs/tools/misc/zoxide/default.nix
Cole Helbling fb7e28ebbe
zoxide: 0.3.1 -> 0.4.0
https://github.com/ajeetdsouza/zoxide/compare/v0.3.1...v0.4.0

Most notable changes, IMHO:

- `zoxide init` now uses PWD hooks by default
- `fish` no longer `cd`s to the user's home when no match is found
- Interactive mode in `zoxide` no longer throws an error if `fzf` exits gracefully
2020-05-03 07:59:24 -07:00

32 lines
676 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
, fzf
}:
rustPlatform.buildRustPackage rec {
pname = "zoxide";
version = "0.4.0";
src = fetchFromGitHub {
owner = "ajeetdsouza";
repo = "zoxide";
rev = "v${version}";
sha256 = "1qkvmjrkcivfzbm6swl5lgvpqz9av9jxcn9i8ms3wz4vfsibmlxv";
};
buildInputs = [
fzf
];
cargoSha256 = "1w921f7b6kzc1mjzff1bcs3mg4cp9h48698w2zlv5jzjs7nwgb8n";
meta = with lib; {
description = "A fast cd command that learns your habits";
homepage = "https://github.com/ajeetdsouza/zoxide";
license = with licenses; [ mit ];
maintainers = with maintainers; [ ysndr cole-h ];
platforms = platforms.all;
};
}