diff options
author | Yannik Sander <me@ysndr.de> | 2020-03-10 22:48:38 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-03-11 23:48:47 +0000 |
commit | 130aef631cf178aab2c5904b359c27447db1d526 (patch) | |
tree | 693e0ec5192dbaddeccb12c54ef5e3c3ceeb8a46 /pkgs/tools/misc/zoxide | |
parent | 711a86973ff0ee8c95900b4cad3558338c7b994c (diff) |
zoxide: init at 0.2.0
Diffstat (limited to 'pkgs/tools/misc/zoxide')
-rw-r--r-- | pkgs/tools/misc/zoxide/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/zoxide/default.nix b/pkgs/tools/misc/zoxide/default.nix new file mode 100644 index 0000000000000..42436de096ddc --- /dev/null +++ b/pkgs/tools/misc/zoxide/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, rustPlatform, fzf }: + +rustPlatform.buildRustPackage rec { + pname = "zoxide"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "ajeetdsouza"; + repo = "zoxide"; + rev = "v${version}"; + sha256 = "0s0zrkn48rgsf2fqpgsl0kix4l6w7k7pwssvdja6y3a4c097qmnm"; + }; + + buildInputs = [ + # Example Run-time Additional Dependencies + fzf + ]; + + cargoSha256 = "1p65ml2qj5dpc6nczfvf341fk7y4yi5ma1x6kfr3d32wnv6m4hgh"; + + meta = with stdenv.lib; { + description = "A fast cd command that learns your habits"; + homepage = "https://github.com/ajeetdsouza/zoxide"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ ysndr ]; + platforms = platforms.all; + }; +} |