2021-10-28 06:52:43 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-05-20 23:08:51 +00:00
|
|
|
pname = "xplr";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.18.0";
|
2021-04-22 02:08:21 +00:00
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sayanarijit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-L9eJd1ivFhAmjKVm+HFq9fNiA/UA/x2akEfa1CrUSBo=";
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
cargoSha256 = "sha256-niH8gj49Wr20Lpa6UAczQ+YHgJlkvZYKJGFH6Spk9Ho=";
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A hackable, minimal, fast TUI file explorer";
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://xplr.dev";
|
2021-04-22 02:08:21 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sayanarijit suryasr007 ];
|
|
|
|
};
|
|
|
|
}
|