nixpkgs/pkgs/applications/misc/xplr/default.nix

23 lines
622 B
Nix
Raw Normal View History

2021-05-15 17:49:52 +02:00
{ lib, stdenv, rustPlatform, fetchCrate, libiconv }:
2021-04-20 22:28:35 +02:00
rustPlatform.buildRustPackage rec {
2021-05-08 17:05:47 +02:00
pname = "xplr";
2021-07-30 02:50:55 +02:00
version = "0.14.5";
2021-04-20 22:28:35 +02:00
2021-05-15 17:49:52 +02:00
src = fetchCrate {
inherit pname version;
2021-07-30 02:50:55 +02:00
sha256 = "00kgxc4pn07p335dl3d53shiyw4f4anw64qc8axz9nspdq734nj5";
2021-04-20 22:28:35 +02:00
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
2021-07-30 02:50:55 +02:00
cargoSha256 = "1wmc4frjllj8dgcg4yw4cigm4mhq807pmp3l3ysi70q490g24gwh";
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 ];
};
}