nixpkgs/pkgs/by-name/sc/scip-go/package.nix
2024-07-12 19:00:01 +00:00

31 lines
690 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "scip-go";
version = "0.1.15";
src = fetchFromGitHub {
owner = "sourcegraph";
repo = "scip-go";
rev = "v${version}";
hash = "sha256-2UKiPKeGDkNiI96RieYWaJygz/ZqfdcBmm9PCuby7qQ=";
};
vendorHash = "sha256-UID2mLrkY86k5Ms0cDgIsZR8s6h4TVwRLvLtoLXAXl4=";
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";
};
}