Merge pull request #233444 from figsoda/scip

scip: init at 0.2.3
This commit is contained in:
Ilan Joselevich 2023-05-22 21:52:20 +03:00 committed by GitHub
commit dc6162074c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, scip
}:
buildGoModule rec {
pname = "scip";
version = "0.2.3";
src = fetchFromGitHub {
owner = "sourcegraph";
repo = "scip";
rev = "v${version}";
hash = "sha256-0ErEA44vRRntWxajUKiQXqaKvQtqCPPXnI/sBktQyIo=";
};
vendorHash = "sha256-T0NYucDVBnTxROVYXlccOvHX74Cs6czXL/fy14I8MZc=";
ldflags = [
"-s"
"-w"
"-X=main.Reproducible=true"
];
postInstall = ''
mv $out/bin/{cmd,scip}
'';
passthru.tests = {
version = testers.testVersion {
package = scip;
version = "v${version}";
};
};
meta = with lib; {
description = "SCIP Code Intelligence Protocol CLI";
homepage = "https://github.com/sourcegraph/scip";
changelog = "https://github.com/sourcegraph/scip/blob/${src.rev}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -40163,6 +40163,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
scip = callPackage ../development/tools/misc/scip { };
scriptisto = callPackage ../development/tools/misc/scriptisto { };
sequeler = callPackage ../applications/misc/sequeler { };