9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 sha256 = "sha256-zQzYukhruVUVP1v76/5522ag7wjN9QoE9BtfMNYQ7UY=";
20 cargoSha256 = "sha256-VeJsCWU7sJy88uvGGjpuGRzsAgBRvzOYU1FwpImpiLk=";
22 buildInputs = lib.optional stdenv.isDarwin Security;
24 nativeBuildInputs = [ installShellFiles ];
27 installShellCompletion --cmd tldr \
28 --bash completion/bash_tealdeer \
29 --fish completion/fish_tealdeer \
30 --zsh completion/zsh_tealdeer
33 # Disable tests that require Internet access:
35 "--skip test_autoupdate_cache"
36 "--skip test_create_cache_directory_path"
37 "--skip test_pager_flag_enable"
38 "--skip test_quiet_cache"
39 "--skip test_quiet_failures"
40 "--skip test_quiet_old_cache"
41 "--skip test_spaces_find_command"
42 "--skip test_update_cache"
46 description = "A very fast implementation of tldr in Rust";
47 homepage = "https://github.com/dbrgn/tealdeer";
48 maintainers = with maintainers; [ davidak newam ];
49 license = with licenses; [ asl20 mit ];