nixpkgs/pkgs/applications/file-managers/felix-fm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
639 B
Nix
Raw Normal View History

2022-09-30 20:12:02 +00:00
{ lib, rustPlatform, fetchFromGitHub, zoxide }:
rustPlatform.buildRustPackage rec {
pname = "felix";
2022-10-01 15:23:13 +00:00
version = "1.2.0";
2022-09-30 20:12:02 +00:00
src = fetchFromGitHub {
owner = "kyoheiu";
repo = pname;
rev = "v${version}";
2022-10-01 15:23:13 +00:00
sha256 = "sha256-7WeikYd/mADsp9DQ0jelhuZo5ZiyJrHG9HBg/YLpjZY=";
2022-09-30 20:12:02 +00:00
};
2022-10-01 15:23:13 +00:00
cargoSha256 = "sha256-IUiyDk+TRfODXQ+45ARcFximkLVk32pqvJfn23H0kAw=";
2022-09-30 20:12:02 +00:00
checkInputs = [ zoxide ];
meta = with lib; {
description = "A tui file manager with vim-like key mapping";
homepage = "https://github.com/kyoheiu/felix";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "fx";
};
}