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
673 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";
2022-03-01 19:18:18 +00:00
version = "0.17.3";
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}";
2022-03-01 19:18:18 +00:00
sha256 = "sha256-BbD0Z/WGNaqpPowZqc4kmFLbL9/+JotKm7dWIgS3NjM=";
2021-04-20 20:28:35 +00:00
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
2022-03-01 19:18:18 +00:00
cargoSha256 = "sha256-qsicWf15U5b4xMqkXDOrhGNrQmiZkoxBQwV58asQa8k=";
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 ];
};
}