depot/third_party/nixpkgs/pkgs/applications/file-managers/xplr/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

29 lines
796 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "xplr";
version = "0.21.2";
src = fetchFromGitHub {
owner = "sayanarijit";
repo = pname;
rev = "v${version}";
sha256 = "sha256-MCOkl95X5YZTAC0VHtSY5xWf1R3987cxepSM7na+LdA=";
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
cargoHash = "sha256-1uAnIuxDDv3Z/fMs2Cu/aFWrnugGcEKlNjhILqDpOMI=";
checkFlags = [
# failure: path::tests::test_relative_to_parent
"--skip=path::tests::test_relative_to_parent"
];
meta = with lib; {
description = "A hackable, minimal, fast TUI file explorer";
homepage = "https://xplr.dev";
license = licenses.mit;
maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g mimame ];
};
}