2021-11-20 02:59:36 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration }:
|
2021-09-09 19:08:16 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "joshuto";
|
2021-11-20 02:59:36 +01:00
|
|
|
version = "0.9.2";
|
2021-09-09 19:08:16 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kamiyaa";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-11-20 02:59:36 +01:00
|
|
|
sha256 = "sha256-9TGHSGYCzU6uAIO4zZ/6+B4oVPE6SD9Phl4dShylW5o=";
|
2021-09-09 19:08:16 +02:00
|
|
|
};
|
|
|
|
|
2021-11-20 02:59:36 +01:00
|
|
|
cargoSha256 = "sha256-g8YYOk2RW4GPdkWlvAxd5KFdV4S1l5yKEzNm9OAc8RI=";
|
2021-09-09 19:08:16 +02:00
|
|
|
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin SystemConfiguration;
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|