2021-05-15 15:49:52 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchCrate, libiconv }:
|
2021-04-20 20:28:35 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-05-08 15:05:47 +00:00
|
|
|
pname = "xplr";
|
2021-09-05 04:07:08 +00:00
|
|
|
version = "0.14.7";
|
2021-04-20 20:28:35 +00:00
|
|
|
|
2021-05-15 15:49:52 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2021-09-05 04:07:08 +00:00
|
|
|
sha256 = "sha256-rGU9Jf+MHDs3pnuddqxLaWc8YqL+Ka7Rex+fTuU62sM=";
|
2021-04-20 20:28:35 +00:00
|
|
|
};
|
|
|
|
|
2021-05-11 01:01:45 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2021-09-05 04:07:08 +00:00
|
|
|
cargoSha256 = "sha256-GwepsY7PcWjKZpJ7H4D9vtXwd2XGFgG1c+QvinMAG4Q=";
|
2021-04-20 20:28:35 +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 ];
|
|
|
|
};
|
|
|
|
}
|