2022-05-18 14:49:53 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration, Foundation }:
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "joshuto";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.9.4";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kamiyaa";
|
|
|
|
repo = pname;
|
2022-08-12 12:06:08 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-sSrXBPZe9R8s+MzWA7cRlaRCyf/4z2qb6DrUCgvKQh8=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
cargoSha256 = "sha256-e4asmP/wTnX6/xrK6lAgCkRlGRFniveEiL5GRXVzcZg=";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration Foundation ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Ranger-like terminal file manager written in Rust";
|
|
|
|
homepage = "https://github.com/kamiyaa/joshuto";
|
|
|
|
license = licenses.lgpl3Only;
|
2022-08-12 12:06:08 +00:00
|
|
|
maintainers = with maintainers; [ figsoda totoroot ];
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
}
|