Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
954 B
Nix
41 lines
954 B
Nix
{
|
|
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-/t1GPdb/zXe0pKeG/A4FKjKFFZ0zy2nT2PV8nxenKXc=";
|
|
|
|
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";
|
|
};
|
|
}
|