nixpkgs/pkgs/development/tools/cuelsp/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

30 lines
690 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "cuelsp";
version = "0.3.4";
src = fetchFromGitHub {
owner = "dagger";
repo = "cuelsp";
rev = "v${version}";
sha256 = "sha256-+E49TR2D26HSTwgwO1XFkIwXr5lmvv9l3KtR8dVT/cQ=";
};
vendorHash = "sha256-zg4aXPY2InY5VEX1GLJkGhMlfa5EezObAjIuX/bGvlc=";
doCheck = false;
subPackages = [
"cmd/cuelsp"
];
meta = with lib; {
description = "Language Server implementation for CUE, with built-in support for Dagger";
mainProgram = "cuelsp";
homepage = "https://github.com/dagger/cuelsp";
license = licenses.asl20;
maintainers = with maintainers; [ sagikazarmark ];
};
}