2022-07-29 18:37:50 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cuelsp";
|
2022-08-10 17:29:53 +02:00
|
|
|
version = "0.3.4";
|
2022-07-29 18:37:50 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dagger";
|
|
|
|
repo = "cuelsp";
|
|
|
|
rev = "v${version}";
|
2022-08-10 17:29:53 +02:00
|
|
|
sha256 = "sha256-+E49TR2D26HSTwgwO1XFkIwXr5lmvv9l3KtR8dVT/cQ=";
|
2022-07-29 18:37:50 +02:00
|
|
|
};
|
|
|
|
|
2023-09-13 06:44:46 +02:00
|
|
|
vendorHash = "sha256-zg4aXPY2InY5VEX1GLJkGhMlfa5EezObAjIuX/bGvlc=";
|
2022-07-29 18:37:50 +02:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/cuelsp"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Language Server implementation for CUE, with built-in support for Dagger";
|
|
|
|
homepage = "https://github.com/dagger/cuelsp";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ sagikazarmark ];
|
|
|
|
};
|
|
|
|
}
|