10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 sha256 = "1f37qlw4nxdhlqlqzzb4j11gsv26abk2nk2qhbzj77kp4v2b125x";
21 cargoSha256 = "0g5fjj677qzhw3nw7f3n5gghsj2y811bdclxpy8aq2n58gbwvhvc";
23 buildInputs = if stdenv.isDarwin then [ Security ] else [ openssl ];
25 nativeBuildInputs = [ installShellFiles pkg-config ];
28 installShellCompletion --bash --name tealdeer.bash bash_tealdeer
29 installShellCompletion --fish --name tealdeer.fish fish_tealdeer
30 installShellCompletion --zsh --name _tealdeer zsh_tealdeer
33 # disable tests for now since one needs network
34 # what is unavailable in sandbox build
35 # and i can't disable just this one
39 description = "A very fast implementation of tldr in Rust";
40 homepage = "https://github.com/dbrgn/tealdeer";
41 maintainers = with maintainers; [ davidak ];
42 license = with licenses; [ asl20 mit ];