nixpkgs/pkgs/applications/file-managers/joshuto/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
726 B
Nix
Raw Normal View History

2022-05-12 12:33:12 +00:00
{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration, Foundation }:
2021-09-09 17:08:16 +00:00
rustPlatform.buildRustPackage rec {
pname = "joshuto";
2022-07-24 20:11:27 +00:00
version = "0.9.4";
2021-09-09 17:08:16 +00:00
src = fetchFromGitHub {
owner = "kamiyaa";
repo = pname;
2022-07-24 20:11:27 +00:00
rev = "v${version}";
sha256 = "sha256-sSrXBPZe9R8s+MzWA7cRlaRCyf/4z2qb6DrUCgvKQh8=";
2021-09-09 17:08:16 +00:00
};
2022-07-24 20:11:27 +00:00
cargoSha256 = "sha256-e4asmP/wTnX6/xrK6lAgCkRlGRFniveEiL5GRXVzcZg=";
2021-09-09 17:08:16 +00:00
2022-05-12 12:33:12 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration 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";
license = licenses.lgpl3Only;
2022-07-24 20:15:21 +00:00
maintainers = with maintainers; [ figsoda totoroot ];
2021-09-09 17:08:16 +00:00
};
}