Skip to content

Commit

Permalink
package-version-server: init at 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Félix Dorn committed Nov 3, 2024
1 parent caca7df commit 3d13ccf
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7065,6 +7065,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 = "[email protected]";
Expand Down
42 changes: 42 additions & 0 deletions pkgs/by-name/pa/package-version-server/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
nix-update-script,
}:

rustPlatform.buildRustPackage rec {
pname = "package-version-server";
version = "0.0.4";

src = fetchFromGitHub {
owner = "zed-industries";
repo = "package-version-server";
rev = "refs/tags/v${version}";
hash = "sha256-Ht5huLugAIj2FTMywdvtxjeM30klwwV8mdq36AxJ2IY=";
};

cargoHash = "sha256-AJldLcUTxenqVFHFPPMaga7QjnjAtyAdbj6OO1DB9IU=";

nativeBuildInputs = [
pkg-config
];

buildInputs = [
openssl
];

passthru = {
updateScript = nix-update-script { };
};

meta = {
description = "A 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";
};
}

0 comments on commit 3d13ccf

Please sign in to comment.