Merge pull request #238849 from figsoda/scip

scip: 0.2.3 -> 0.3.0
This commit is contained in:
Weijia Wang 2023-06-21 07:13:26 +03:00 committed by GitHub
commit 51959fc457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,22 +1,33 @@
{ lib { lib
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, testers , testers
, scip , scip
}: }:
buildGoModule rec { buildGoModule rec {
pname = "scip"; pname = "scip";
version = "0.2.3"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sourcegraph"; owner = "sourcegraph";
repo = "scip"; repo = "scip";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-0ErEA44vRRntWxajUKiQXqaKvQtqCPPXnI/sBktQyIo="; hash = "sha256-tcnBv+dxuLD/ixeOLGrHu2UVfOnrfANjyaRzW5oDC94=";
}; };
vendorHash = "sha256-T0NYucDVBnTxROVYXlccOvHX74Cs6czXL/fy14I8MZc="; vendorHash = "sha256-+IR3fc6tvSwPGDZ4DxrE48Ii3azcT0LMmID1LRAu5g8=";
patches = [
# update documentation to fix broken test
# https://github.com/sourcegraph/scip/pull/174
(fetchpatch {
name = "test-fix-out-of-sync-documentation.patch";
url = "https://github.com/sourcegraph/scip/commit/7450b7701637956d4ae6669338c808234f7a7bfa.patch";
hash = "sha256-Y5nAVHyy430xdN89ohA8XAssNdSSPq4y7QaesN48jVs=";
})
];
ldflags = [ ldflags = [
"-s" "-s"