9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-UYOAj6ft6FHQz06A+K2K+bK3WXQnF5U7TuN95WIXj+M=";
20 cargoHash = "sha256-ZKaq/JqH/Y2Cs9LLnlt1Gawe4R+kvS3vpUcNK95uujk=";
22 buildInputs = lib.optional stdenv.hostPlatform.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 = "Very fast implementation of tldr in Rust";
47 homepage = "https://github.com/dbrgn/tealdeer";
48 maintainers = with maintainers; [ davidak newam mfrw ];
49 license = with licenses; [ asl20 mit ];