nixpkgs/pkgs/applications/file-managers/xplr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
796 B
Nix
Raw Normal View History

2021-10-24 06:36:07 +00:00
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
2021-04-20 20:28:35 +00:00
rustPlatform.buildRustPackage rec {
2021-05-08 15:05:47 +00:00
pname = "xplr";
2023-05-23 20:13:48 +00:00
version = "0.21.2";
2021-04-20 20:28:35 +00:00
2021-10-24 06:36:07 +00:00
src = fetchFromGitHub {
owner = "sayanarijit";
repo = pname;
rev = "v${version}";
2023-05-23 20:13:48 +00:00
sha256 = "sha256-MCOkl95X5YZTAC0VHtSY5xWf1R3987cxepSM7na+LdA=";
2021-04-20 20:28:35 +00:00
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
2023-05-23 20:13:48 +00:00
cargoHash = "sha256-1uAnIuxDDv3Z/fMs2Cu/aFWrnugGcEKlNjhILqDpOMI=";
checkFlags = [
# failure: path::tests::test_relative_to_parent
"--skip=path::tests::test_relative_to_parent"
];
2021-04-20 20:28:35 +00:00
meta = with lib; {
description = "A hackable, minimal, fast TUI file explorer";
2022-05-29 14:59:48 +00:00
homepage = "https://xplr.dev";
2021-04-20 20:28:35 +00:00
license = licenses.mit;
maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g mimame ];
2021-04-20 20:28:35 +00:00
};
}