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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
666 B
Nix
Raw Normal View History

2021-10-24 06:36:07 +00:00
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
2021-04-20 20:28:35 +00:00
rustPlatform.buildRustPackage rec {
2021-05-08 15:05:47 +00:00
pname = "xplr";
2023-01-16 05:58:46 +00:00
version = "0.20.2";
2021-04-20 20:28:35 +00:00
2021-10-24 06:36:07 +00:00
src = fetchFromGitHub {
owner = "sayanarijit";
repo = pname;
rev = "v${version}";
2023-01-16 05:58:46 +00:00
sha256 = "sha256-iPcxDNtwWnvFljZw052aw/ekCahyFBNt/zbUAdaWJA8=";
2021-04-20 20:28:35 +00:00
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
2023-01-16 05:58:46 +00:00
cargoSha256 = "sha256-Sn7ZcNdmMDQJHn99iTJX9c3uVhaGpRvEgdoJFmIUgeU=";
2021-04-20 20:28:35 +00:00
meta = with lib; {
description = "A hackable, minimal, fast TUI file explorer";
2022-05-29 14:59:48 +00:00
homepage = "https://xplr.dev";
2021-04-20 20:28:35 +00:00
license = licenses.mit;
2022-06-08 12:43:17 +00:00
maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g ];
2021-04-20 20:28:35 +00:00
};
}