evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / go / go-symbols / package.nix
blob786e9d93a700b92de648d42e9d8b35a32d993a0b
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   fetchpatch,
6 }:
8 buildGoModule rec {
9   pname = "go-symbols";
10   version = "0.1.1";
12   vendorHash = "sha256-8unWnxTQzPY8tKBtss9qQG+ksWyheKxKRlg65F0vWWU=";
14   src = fetchFromGitHub {
15     owner = "acroca";
16     repo = "go-symbols";
17     rev = "v${version}";
18     hash = "sha256-P2N4Hqrazu02CWOfAu7/KGlpjzjN65hkyWI1S5nh33s=";
19   };
21   patches = [
22     # Migrate to Go modules
23     (fetchpatch {
24       url = "https://github.com/acroca/go-symbols/commit/414c2283696b50fc5009055e5bc2590ce45f4400.patch";
25       hash = "sha256-9lndJhyN8eaovjQlfSRGP8lC4F+pAXUoR2AvYvhSx2U=";
26     })
27   ];
29   meta = {
30     description = "Utility for extracting a JSON representation of the package symbols from a go source tree";
31     mainProgram = "go-symbols";
32     homepage = "https://github.com/acroca/go-symbols";
33     maintainers = with lib.maintainers; [
34       luftmensch-luftmensch
35       vdemeester
36     ];
37     license = lib.licenses.mit;
38   };