mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
20a8580e09
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.
32 lines
676 B
Nix
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;
|
|
};
|
|
}
|