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 08:36:07 +02:00
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
2021-04-20 22:28:35 +02:00
rustPlatform.buildRustPackage rec {
2021-05-08 17:05:47 +02:00
pname = "xplr";
2022-12-07 13:09:58 +01:00
version = "0.20.1";
2021-04-20 22:28:35 +02:00
2021-10-24 08:36:07 +02:00
src = fetchFromGitHub {
owner = "sayanarijit";
repo = pname;
rev = "v${version}";
2022-12-07 13:09:58 +01:00
sha256 = "sha256-b3TdhziXPytHitilMBkr6OGaI+CBI3w4qcTIkQtOAjs=";
2021-04-20 22:28:35 +02:00
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
2022-12-07 13:09:58 +01:00
cargoSha256 = "sha256-pdXLuogkz5q4+B/y/alA900OHVGBT8W6BR7I2aH8IaA=";
2021-04-20 22:28:35 +02:00
meta = with lib; {
description = "A hackable, minimal, fast TUI file explorer";
2022-05-29 16:59:48 +02:00
homepage = "https://xplr.dev";
2021-04-20 22:28:35 +02:00
license = licenses.mit;
2022-06-08 14:43:17 +02:00
maintainers = with maintainers; [ sayanarijit suryasr007 thehedgeh0g ];
2021-04-20 22:28:35 +02:00
};
}