2020-03-11 00:48:38 +03:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, fzf }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "zoxide";
|
2020-03-19 23:21:46 +03:00
|
|
|
version = "0.2.2";
|
2020-03-11 00:48:38 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ajeetdsouza";
|
|
|
|
repo = "zoxide";
|
|
|
|
rev = "v${version}";
|
2020-03-19 23:21:46 +03:00
|
|
|
sha256 = "0s6aax6bln9jmmv7kw630mj0l6qpvdx8mdk3a5d9akr9d23zxmr5";
|
2020-03-11 00:48:38 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
fzf
|
|
|
|
];
|
|
|
|
|
2020-03-19 23:21:46 +03:00
|
|
|
cargoSha256 = "1gzpkf7phl5xd666l7pc25917x4qq0kkxk4i9dkz3lvxz3v8ylrz";
|
2020-03-11 00:48:38 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A fast cd command that learns your habits";
|
|
|
|
homepage = "https://github.com/ajeetdsouza/zoxide";
|
|
|
|
license = with licenses; [ mit ];
|
2020-03-19 23:21:46 +03:00
|
|
|
maintainers = with maintainers; [ ysndr cole-h ];
|
2020-03-11 00:48:38 +03:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|