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-11-02 22:02:43 +00:00
|
|
|
version = "0.20.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-11-02 22:02:43 +00:00
|
|
|
sha256 = "sha256-TH5ksbEVBlOPmqQOtRmoHTDBRkj/KaMsM+Xc7e2ObzY=";
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2022-11-02 22:02:43 +00:00
|
|
|
cargoSha256 = "sha256-RcH1J5I9FPQ/Npq4I5lcOsZHzvKyYhxmqOIEYcBXqU0=";
|
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;
|
2022-06-26 10:26:21 +00:00
|
|
|
maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g ];
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
}
|