Merge pull request #214312 from hzeller/20230202-update-verible

verible: 0.0-2472-ga80124e1 -> 0.0.2821

authored by Weijia Wang and committed by GitHub 1201dd5a 583cc824

+16 -16
+11 -11
pkgs/development/tools/language-servers/verible/default.nix
··· 13 13 in 14 14 buildBazelPackage rec { 15 15 pname = "verible"; 16 - version = "0.0-2472-ga80124e1"; 17 16 18 17 # These environment variables are read in bazel/build-version.py to create 19 - # a build string. Otherwise it would attempt to extract it from .git/. 20 - GIT_DATE = "2022-10-21"; 21 - GIT_VERSION = version; 18 + # a build string shown in the tools --version output. 19 + # If env variables not set, it would attempt to extract it from .git/. 20 + GIT_DATE = "2023-02-02"; 21 + GIT_VERSION = "v0.0-2821-gb2180bfa"; 22 + 23 + # Derive nix package version from GIT_VERSION: "v1.2-345-abcde" -> "1.2.345" 24 + version = builtins.concatStringsSep "." (lib.take 3 (lib.drop 1 (builtins.splitVersion GIT_VERSION))); 22 25 23 26 src = fetchFromGitHub { 24 27 owner = "chipsalliance"; 25 28 repo = "verible"; 26 - rev = "v${version}"; 27 - sha256 = "sha256:0jpdxqhnawrl80pbc8544pyggdp5s3cbc7byc423d5v0sri2f96v"; 29 + rev = "${GIT_VERSION}"; 30 + sha256 = "sha256-etcimvInhebH2zRPyZnWUq6m3VnCq44w32GJrIacULo="; 28 31 }; 29 32 30 33 patches = [ ··· 46 49 # of the output derivation ? Is there a more robust way to do this ? 47 50 # (Hashes extracted from the ofborg build logs) 48 51 sha256 = { 49 - aarch64-linux = "sha256-6Udp7sZKGU8gcy6+5WPhkSWunf1sVkha8l5S1UQsC04="; 50 - x86_64-linux = "sha256-WfhgbJFaM/ipdd1dRjPeVZ1mK2hotb0wLmKjO7e+BO4="; 52 + aarch64-linux = "sha256-dYJoae3+u+gpULHS8nteFzzL974cVJ+cJzeG/Dz2HaQ="; 53 + x86_64-linux = "sha256-Jd99+nhqgZ2Gwd78eyXfnSSfbl8C3hoWkiUnzJG1jqM="; 51 54 }.${system} or (throw "No hash for system: ${system}"); 52 55 }; 53 56 ··· 62 65 bazel/build-version.py \ 63 66 bazel/sh_test_with_runfiles_lib.sh \ 64 67 common/lsp/dummy-ls_test.sh \ 65 - common/parser/move_yacc_stack_symbols.sh \ 66 - common/parser/record_syntax_error.sh \ 67 68 common/tools/patch_tool_test.sh \ 68 69 common/tools/verible-transform-interactive.sh \ 69 70 common/tools/verible-transform-interactive-test.sh \ 70 - common/util/create_version_header.sh \ 71 71 kythe-browse.sh \ 72 72 verilog/tools 73 73 '';
+5 -5
pkgs/development/tools/language-servers/verible/remove-unused-deps.patch
··· 1 1 diff --git a/WORKSPACE b/WORKSPACE 2 - index 696cc7ef..55a5bb8a 100644 2 + index ad16b3a1..52b66703 100644 3 3 --- a/WORKSPACE 4 4 +++ b/WORKSPACE 5 5 @@ -81,17 +81,6 @@ load("@com_github_google_rules_install//:setup.bzl", "install_rules_setup") ··· 12 12 - 13 13 -win_flex_configure( 14 14 - name = "win_flex_bison", 15 - - sha256 = "095cf65cb3f12ee5888022f93109acbe6264e5f18f6ffce0bda77feb31b65bd8", 16 - - # bison 3.3.2, flex 2.6.4 17 - - url = "https://github.com/lexxmark/winflexbison/releases/download/v2.5.18/win_flex_bison-2.5.18.zip", 15 + - sha256 = "8d324b62be33604b2c45ad1dd34ab93d722534448f55a16ca7292de32b6ac135", 16 + - # bison 3.8.2, flex 2.6.4 17 + - url = "https://github.com/lexxmark/winflexbison/releases/download/v2.5.25/win_flex_bison-2.5.25.zip", 18 18 -) 19 19 - 20 20 http_archive( 21 21 name = "rules_m4", 22 - sha256 = "c67fa9891bb19e9e6c1050003ba648d35383b8cb3c9572f397ad24040fb7f0eb", 22 + sha256 = "b0309baacfd1b736ed82dc2bb27b0ec38455a31a3d5d20f8d05e831ebeef1a8e",