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

23 lines
622 B
Nix
Raw Normal View History

2021-05-15 15:49:52 +00:00
{ lib, stdenv, rustPlatform, fetchCrate, libiconv }:
2021-04-20 20:28:35 +00:00
rustPlatform.buildRustPackage rec {
2021-05-08 15:05:47 +00:00
pname = "xplr";
2021-05-23 05:03:17 +00:00
version = "0.10.1";
2021-04-20 20:28:35 +00:00
2021-05-15 15:49:52 +00:00
src = fetchCrate {
inherit pname version;
2021-05-23 05:03:17 +00:00
sha256 = "17x514pwbkzkkrd47a66a4iz3bxrxvm8hk5hphsfbhgzqfnf9iy7";
2021-04-20 20:28:35 +00:00
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
2021-05-23 05:03:17 +00:00
cargoSha256 = "03y2fk174rdjvw8wdzwc0hhj0zqwpap7qcga51yhq877rgyxbxir";
2021-04-20 20:28:35 +00: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 ];
};
}