13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
21 sha256 = "sha256-hHl9PGNDFN7Dad2JOlAy99dz0pC9OmphwYMJHBBwx7Y=";
24 cargoSha256 = "sha256-rjkj9MO6fXVOk3fA87olGt/iIaJ8Zv/cy/Cqy/pg6yI=";
28 ] ++ lib.optionals stdenv.isLinux [
32 buildInputs = lib.optionals stdenv.isLinux [
35 ] ++ lib.optionals stdenv.isDarwin [
40 installManPage man/dym.1
41 installShellCompletion completions/dym.{bash,fish}
42 installShellCompletion --zsh completions/_dym
45 # Clipboard doesn't exist in test environment
49 description = "A CLI spelling corrector for when you're unsure";
50 homepage = "https://github.com/hisbaan/didyoumean";
51 license = licenses.gpl3Plus;
52 maintainers = with maintainers; [ evanjs wegank ];