mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
25 lines
674 B
Nix
25 lines
674 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "xplr";
|
|
version = "0.17.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sayanarijit";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1lgfa1y5vsm3gqxizdgbn816klcamqmshw817mwan5i5yx9nk6xz";
|
|
};
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
cargoSha256 = "sha256-va+MKnHVdkQNq1SFvvoYnb28tW61W7d97LoCMNzwZHE=";
|
|
|
|
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 ];
|
|
};
|
|
}
|