2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchCrate, libiconv }:
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-05-20 23:08:51 +00:00
|
|
|
pname = "xplr";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "0.14.7";
|
2021-04-22 02:08:21 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-rGU9Jf+MHDs3pnuddqxLaWc8YqL+Ka7Rex+fTuU62sM=";
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
cargoSha256 = "sha256-GwepsY7PcWjKZpJ7H4D9vtXwd2XGFgG1c+QvinMAG4Q=";
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A hackable, minimal, fast TUI file explorer";
|
|
|
|
homepage = "https://github.com/sayanarijit/xplr";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sayanarijit suryasr007 ];
|
|
|
|
};
|
|
|
|
}
|