3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/zoxide/default.nix
Cole Helbling 20a8580e09
zoxide: 0.4.0 -> 0.4.1
https://github.com/ajeetdsouza/zoxide/compare/v0.4.0...v0.4.1

NOTE: This release drops compatibility for old 0.2.x databases. If you
have ever run any version between 0.3.0 and 0.4.0 (inclusive), your
database has already been upgraded. If you haven't, you will need to run
one of those versions before updating, or your database will not be
found or in the correct format.
2020-05-24 15:25:52 -07:00

32 lines
676 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
, fzf
}:
rustPlatform.buildRustPackage rec {
pname = "zoxide";
version = "0.4.1";
src = fetchFromGitHub {
owner = "ajeetdsouza";
repo = "zoxide";
rev = "v${version}";
sha256 = "1zfk9y5f12h2d5zwf2z8c95xwhbhc6ayv971875fbxgz1nd8vqb6";
};
buildInputs = [
fzf
];
cargoSha256 = "0z0p3cxxazw19bmk3zw7z2q93p00ywsa2cz1jhy78mn5pq1v95rd";
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;
};
}