nixpkgs/pkgs/development/tools/efm-langserver/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

25 lines
638 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "efm-langserver";
version = "0.0.53";
src = fetchFromGitHub {
owner = "mattn";
repo = "efm-langserver";
rev = "v${version}";
sha256 = "sha256-Csm+2C9hP+dTXliADUquAb1nC+8f5j1rJ+66cqWDrCk=";
};
vendorHash = "sha256-0YkUak6+dpxvXn6nVVn33xrTEthWqnC9MhMLm/yjFMA=";
subPackages = [ "." ];
meta = with lib; {
description = "General purpose Language Server";
mainProgram = "efm-langserver";
maintainers = with maintainers; [ Philipp-M ];
homepage = "https://github.com/mattn/efm-langserver";
license = licenses.mit;
};
}