Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spectral-language-server: init at 1.0.8 #301730

Merged
merged 2 commits into from
May 8, 2024

Conversation

momeemt
Copy link
Member

@momeemt momeemt commented Apr 5, 2024

close #283363

Description of changes

spectral-language-server is a language server that includes Spectral, a flexible object linter with out-of-the-box support for OpenAPI v2 and v3, JSON Schema, and AsyncAPI.
I defined a derivation because #283363 requests this package.

https://github.com/luizcorreia/spectral-language-server

As this is my first time writing code on nixpkgs, I would be grateful if you could tell me if there are any bugs.
In particular, I'm wondering if my workaround for @rollup/pluginutils not providing type definitions for NodeNext is the right one.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@NixOSInfra NixOSInfra added the 12. first-time contribution This PR is the author's first one; please be gentle! label Apr 5, 2024
@arduano
Copy link
Contributor

arduano commented Apr 8, 2024

Result of nixpkgs-review pr 301730 run on x86_64-linux 1

1 package built:
  • spectral-language-server

@momeemt
Copy link
Member Author

momeemt commented Apr 8, 2024

@arduano @natsukium Would you review this pull request? 🙇

@arduano
Copy link
Contributor

arduano commented Apr 8, 2024

Anyway the rest lgtm, but I'm new here, so I'll let more experienced contributors judge. Welcome to nixpkgs btw

@momeemt
Copy link
Member Author

momeemt commented Apr 8, 2024

Thank you for your review! I'll be waiting for their judgement too.

Copy link
Member

@natsukium natsukium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!
I left some comments, could you take a look at them?

pkgs/by-name/sp/spectral-language-server/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/sp/spectral-language-server/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/sp/spectral-language-server/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/sp/spectral-language-server/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/sp/spectral-language-server/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/sp/spectral-language-server/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/sp/spectral-language-server/package.nix Outdated Show resolved Hide resolved
@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label May 6, 2024
@momeemt momeemt force-pushed the spectral-language-server/init branch from 67e6513 to dfc7069 Compare May 7, 2024 00:29
@natsukium
Copy link
Member

@ofborg eval

Copy link
Member

@natsukium natsukium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides this, LGTM.

@momeemt momeemt force-pushed the spectral-language-server/init branch from dfc7069 to 652444b Compare May 8, 2024 10:10
@momeemt momeemt force-pushed the spectral-language-server/init branch from 652444b to ef0d7b7 Compare May 8, 2024 10:47
Copy link
Member

@natsukium natsukium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your hard work.
Welcome to nixpkgs!🎉

@natsukium natsukium merged commit d54c29d into NixOS:master May 8, 2024
24 of 25 checks passed
@momeemt momeemt deleted the spectral-language-server/init branch May 8, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1-10 10.rebuild-linux: 1 11.by: package-maintainer This PR was created by the maintainer of the package it changes 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spectral-language-server
4 participants