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";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.21.2";
|
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}";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-MCOkl95X5YZTAC0VHtSY5xWf1R3987cxepSM7na+LdA=";
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
cargoHash = "sha256-1uAnIuxDDv3Z/fMs2Cu/aFWrnugGcEKlNjhILqDpOMI=";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
checkFlags = [
|
|
|
|
# failure: path::tests::test_relative_to_parent
|
|
|
|
"--skip=path::tests::test_relative_to_parent"
|
|
|
|
];
|
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;
|
2023-04-29 16:46:19 +00:00
|
|
|
maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g mimame ];
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
}
|