10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-3KS/KN6/RO+PxoxbCVryymnTyWcmfXuCoc9E+asdU/E=";
21 cargoHash = "sha256-9MnYSmMhLn31aHwooo8W/1Rp7N5P6Tar7Ft2iXRVnh0=";
23 nativeBuildInputs = [ installShellFiles ];
25 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
26 darwin.apple_sdk.frameworks.Security
31 installShellCompletion completions/{tldr.bash,_tldr,tldr.fish}
35 description = "Official tldr client written in Rust";
36 homepage = "https://github.com/tldr-pages/tlrc";
37 changelog = "https://github.com/tldr-pages/tlrc/releases/tag/v${version}";
38 license = licenses.mit;
40 maintainers = with maintainers; [ acuteenvy ];