12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-PSEoh1OMElFJ8m4er1vBMkQak3JvLjd+oWNWA46cows=";
23 cargoHash = "sha256-QERnohWpkJ0LWkdxHrY6gKxdGqxDkLla7jlG44laojk=";
29 ++ lib.optionals stdenv.hostPlatform.isLinux [
33 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
39 installManPage man/dym.1
40 installShellCompletion completions/dym.{bash,fish}
41 installShellCompletion --zsh completions/_dym
44 # Clipboard doesn't exist in test environment
48 description = "CLI spelling corrector for when you're unsure";
49 homepage = "https://github.com/hisbaan/didyoumean";
50 license = licenses.gpl3Plus;
51 maintainers = with maintainers; [