package-version-server: init at 0.0.7 (#353527)

This commit is contained in:
Arne Keller
2025-01-15 18:43:57 +01:00
committed by GitHub
2 changed files with 46 additions and 0 deletions
+6
View File
@@ -7428,6 +7428,12 @@
name = "Felix Albrigtsen";
matrix = "@felixalb:feal.no";
};
felixdorn = {
name = "Félix";
matrix = "@d:xfe.li";
github = "felixdorn";
githubId = 55788595;
};
felixscheinost = {
name = "Felix Scheinost";
email = "felix.scheinost@posteo.de";
@@ -0,0 +1,40 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "package-version-server";
version = "0.0.7";
src = fetchFromGitHub {
owner = "zed-industries";
repo = "package-version-server";
rev = "refs/tags/v${version}";
hash = "sha256-/YyJ8+tKrNKVrN+F/oHgtExBBRatIIOvWr9mAyTHA3E=";
};
cargoHash = "sha256-aO6d7NcWZtLMH2/2jcsD8vpDO+C2exMwxrLVFH3bsP0=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
passthru = {
updateScript = nix-update-script { };
};
doCheck = lib.versionAtLeast version "0.0.8";
meta = {
description = "Language server that handles hover information in package.json files";
homepage = "https://github.com/zed-industries/package-version-server/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ felixdorn ];
mainProgram = "package-version-server";
};
}