2021-10-24 08:36:07 +02:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
|
2021-04-20 22:28:35 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-05-08 17:05:47 +02:00
|
|
|
pname = "xplr";
|
2021-10-24 08:36:07 +02:00
|
|
|
version = "0.15.2";
|
2021-04-20 22:28:35 +02:00
|
|
|
|
2021-10-24 08:36:07 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sayanarijit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1znb6n9xbzbi9sif76xlwnqrzkh50g9yz6k36m0hm5iacd1fapab";
|
2021-04-20 22:28:35 +02:00
|
|
|
};
|
|
|
|
|
2021-05-11 03:01:45 +02:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2021-10-24 08:36:07 +02:00
|
|
|
cargoSha256 = "0gbhkpha02ymr861av0fmyz6h007ajwkqcajq8hrnfzjk8rii47m";
|
2021-04-20 22:28:35 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|