11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
19 sha256 = "sha256-PSEoh1OMElFJ8m4er1vBMkQak3JvLjd+oWNWA46cows=";
22 cargoHash = "sha256-QERnohWpkJ0LWkdxHrY6gKxdGqxDkLla7jlG44laojk=";
26 ] ++ lib.optionals stdenv.hostPlatform.isLinux [
30 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
36 installManPage man/dym.1
37 installShellCompletion completions/dym.{bash,fish}
38 installShellCompletion --zsh completions/_dym
41 # Clipboard doesn't exist in test environment
45 description = "CLI spelling corrector for when you're unsure";
46 homepage = "https://github.com/hisbaan/didyoumean";
47 license = licenses.gpl3Plus;
48 maintainers = with maintainers; [ evanjs wegank ];