about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/scip
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-06-20 20:12:23 -0400
committerfigsoda <figsoda@pm.me>2023-06-20 20:24:34 -0400
commitd57b206a607361e3eb16a19827c9a81177c3f071 (patch)
tree6365621db2bc8e12b5da9acd0afe1c5b04bbd461 /pkgs/development/tools/misc/scip
parent9eaa74ab5782c5ceb5a2edd5aa91ad076d1213b0 (diff)
scip: 0.2.3 -> 0.3.0
Diff: https://github.com/sourcegraph/scip/compare/v0.2.3...v0.3.0

Changelog: https://github.com/sourcegraph/scip/blob/v0.3.0/CHANGELOG.md
Diffstat (limited to 'pkgs/development/tools/misc/scip')
-rw-r--r--pkgs/development/tools/misc/scip/default.nix17
1 files changed, 14 insertions, 3 deletions
diff --git a/pkgs/development/tools/misc/scip/default.nix b/pkgs/development/tools/misc/scip/default.nix
index e619f98fe8783..36fb940f19c70 100644
--- a/pkgs/development/tools/misc/scip/default.nix
+++ b/pkgs/development/tools/misc/scip/default.nix
@@ -1,22 +1,33 @@
 { lib
 , buildGoModule
 , fetchFromGitHub
+, fetchpatch
 , testers
 , scip
 }:
 
 buildGoModule rec {
   pname = "scip";
-  version = "0.2.3";
+  version = "0.3.0";
 
   src = fetchFromGitHub {
     owner = "sourcegraph";
     repo = "scip";
     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 = [
     "-s"