2021-10-24 07:36:07 +01:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
|
2021-04-20 21:28:35 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-05-08 16:05:47 +01:00
|
|
|
pname = "xplr";
|
2021-10-24 07:36:07 +01:00
|
|
|
version = "0.15.2";
|
2021-04-20 21:28:35 +01:00
|
|
|
|
2021-10-24 07:36:07 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sayanarijit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1znb6n9xbzbi9sif76xlwnqrzkh50g9yz6k36m0hm5iacd1fapab";
|
2021-04-20 21:28:35 +01:00
|
|
|
};
|
|
|
|
|
2021-05-11 02:01:45 +01:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2021-10-24 07:36:07 +01:00
|
|
|
cargoSha256 = "0gbhkpha02ymr861av0fmyz6h007ajwkqcajq8hrnfzjk8rii47m";
|
2021-04-20 21:28:35 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A hackable, minimal, fast TUI file explorer";
|
|
|
|
homepage = "https://github.com/sayanarijit/xplr";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sayanarijit suryasr007 ];
|
|
|
|
};
|
|
|
|
}
|