nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 24 lines 641 B view raw
1{ lib, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 pname = "go-langserver"; 5 version = "2.0.0"; 6 7 goPackagePath = "github.com/sourcegraph/go-langserver"; 8 subPackages = [ "." ]; 9 10 src = fetchFromGitHub { 11 rev = "v${version}"; 12 owner = "sourcegraph"; 13 repo = "go-langserver"; 14 sha256 = "1wv7xf81s3qi8xydxjkkp8vacdzrq8sbj04346fz73nsn85z0sgp"; 15 }; 16 17 meta = with lib; { 18 description = "A Go language server protocol server"; 19 homepage = "https://github.com/sourcegraph/go-langserver"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ johnchildren ]; 22 platforms = platforms.unix; 23 }; 24}