2022-05-12 13:33:12 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration, Foundation }:
|
2021-09-09 18:08:16 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "joshuto";
|
2022-03-08 15:00:26 +00:00
|
|
|
version = "0.9.3";
|
2021-09-09 18:08:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kamiyaa";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-03-08 15:00:26 +00:00
|
|
|
sha256 = "sha256-RbA7MM/3u2LJG6QD5f15E/XoLwHMkPasx0ht4PqV/jc=";
|
2021-09-09 18:08:16 +01:00
|
|
|
};
|
|
|
|
|
2022-03-08 15:00:26 +00:00
|
|
|
cargoSha256 = "sha256-vhTfAoAwDJ9BjhgUEkV2H+KAetJR1YqwaZ7suF6yMXA=";
|
2021-09-09 18:08:16 +01:00
|
|
|
|
2022-05-12 13:33:12 +01:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration Foundation ];
|
2021-09-09 18:08:16 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Ranger-like terminal file manager written in Rust";
|
|
|
|
homepage = "https://github.com/kamiyaa/joshuto";
|
|
|
|
license = licenses.lgpl3Only;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|