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.

28 lines
800 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
2021-09-09 17:08:16 +00:00
rustPlatform.buildRustPackage rec {
pname = "joshuto";
version = "0.9.5";
2021-09-09 17:08:16 +00:00
src = fetchFromGitHub {
owner = "kamiyaa";
repo = "joshuto";
2022-07-24 20:11:27 +00:00
rev = "v${version}";
hash = "sha256-b13CLfWidqfYhHC9wY84kd3elsjWGxBMGr5GXHzUhfs=";
2021-09-09 17:08:16 +00:00
};
cargoHash = "sha256-gMX8hvt20V4XUd0nnXGA4fyOUfB7ZY1eeme9HgYopL0=";
2021-09-09 17:08:16 +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";
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
};
}