2023-07-04 21:01:46 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
|
2021-09-09 17:08:16 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "joshuto";
|
2023-07-04 21:01:46 +00:00
|
|
|
version = "0.9.5";
|
2021-09-09 17:08:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kamiyaa";
|
2023-07-04 21:01:46 +00:00
|
|
|
repo = "joshuto";
|
2022-07-24 20:11:27 +00:00
|
|
|
rev = "v${version}";
|
2023-07-04 21:01:46 +00:00
|
|
|
hash = "sha256-b13CLfWidqfYhHC9wY84kd3elsjWGxBMGr5GXHzUhfs=";
|
2021-09-09 17:08:16 +00:00
|
|
|
};
|
|
|
|
|
2023-07-04 21:01:46 +00:00
|
|
|
cargoHash = "sha256-gMX8hvt20V4XUd0nnXGA4fyOUfB7ZY1eeme9HgYopL0=";
|
2021-09-09 17:08:16 +00:00
|
|
|
|
2023-07-04 21:01:46 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
|
|
darwin.apple_sdk.frameworks.Foundation
|
|
|
|
];
|
2021-09-09 17:08:16 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Ranger-like terminal file manager written in Rust";
|
|
|
|
homepage = "https://github.com/kamiyaa/joshuto";
|
2023-07-04 21:01:46 +00:00
|
|
|
changelog = "https://github.com/kamiyaa/joshuto/releases/tag/${src.rev}";
|
2021-09-09 17:08:16 +00:00
|
|
|
license = licenses.lgpl3Only;
|
2023-08-30 02:44:56 +00:00
|
|
|
maintainers = with maintainers; [ figsoda totoroot xrelkd ];
|
2021-09-09 17:08:16 +00:00
|
|
|
};
|
|
|
|
}
|