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