13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
21 hash = "sha256-+2peLqj3/ny0hDwJVKEp2XS68VO50IvpCB2fvZoEdJo=";
25 rustPlatform.bindgenHook
34 ++ lib.optionals stdenv.hostPlatform.isDarwin (
35 with darwin.apple_sdk.frameworks;
43 # The following tests are reaching to the network.
46 ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
47 # This test does not account for the existence of aarch64-linux machines,
48 # despite upstream shipping artifacts for that architecture
49 "--skip=utils::tests::arch"
52 env.OPENSSL_NO_VENDOR = true;
54 cargoHash = "sha256-YurMB54jeMQIAOgDQhXEYrkYUYrSl02M9JG5Wtp6Eb8=";
57 wrapProgram $out/bin/vale-ls \
58 --prefix PATH : ${lib.makeBinPath [ vale ]}
62 description = "LSP implementation for the Vale command-line tool";
63 homepage = "https://github.com/errata-ai/vale-ls";
64 license = licenses.mit;
65 mainProgram = "vale-ls";
66 maintainers = with maintainers; [