depot/third_party/nixpkgs/pkgs/applications/file-managers/joshuto/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

24 lines
726 B
Nix

{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "joshuto";
version = "0.9.4";
src = fetchFromGitHub {
owner = "kamiyaa";
repo = pname;
rev = "v${version}";
sha256 = "sha256-sSrXBPZe9R8s+MzWA7cRlaRCyf/4z2qb6DrUCgvKQh8=";
};
cargoSha256 = "sha256-e4asmP/wTnX6/xrK6lAgCkRlGRFniveEiL5GRXVzcZg=";
buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration Foundation ];
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 totoroot ];
};
}