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";
|
2022-12-07 12:09:58 +00:00
|
|
|
version = "0.20.1";
|
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}";
|
2022-12-07 12:09:58 +00:00
|
|
|
sha256 = "sha256-b3TdhziXPytHitilMBkr6OGaI+CBI3w4qcTIkQtOAjs=";
|
2021-04-20 20:28:35 +00:00
|
|
|
};
|
|
|
|
|
2021-05-11 01:01:45 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2022-12-07 12:09:58 +00:00
|
|
|
cargoSha256 = "sha256-pdXLuogkz5q4+B/y/alA900OHVGBT8W6BR7I2aH8IaA=";
|
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;
|
2022-06-08 12:43:17 +00:00
|
|
|
maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g ];
|
2021-04-20 20:28:35 +00:00
|
|
|
};
|
|
|
|
}
|