3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/joshuto/default.nix

25 lines
683 B
Nix
Raw Normal View History

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