mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
31 lines
690 B
Nix
31 lines
690 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "scip-go";
|
|
version = "0.1.21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sourcegraph";
|
|
repo = "scip-go";
|
|
rev = "v${version}";
|
|
hash = "sha256-CUmivqMFAjtSS06tEs8xuXh5nyLD3MYdI2j0EAyWpY0=";
|
|
};
|
|
|
|
vendorHash = "sha256-E/1ubWGIx+sGC+owqw4nOkrwUFJfgTeqDNpH8HCwNhA=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "SCIP (SCIP Code Intelligence Protocol) indexer for Golang";
|
|
homepage = "https://github.com/sourcegraph/scip-go/tree/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ arikgrahl ];
|
|
mainProgram = "scip-go";
|
|
};
|
|
}
|