diff options
author | Márk Sági-Kazár <sagikazarmark@users.noreply.github.com> | 2022-04-19 19:28:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 19:28:09 +0200 |
commit | e1212c4c2812e92d1c7cbed63eb0e417de89a430 (patch) | |
tree | 2581ba38bb142e045569f1edffab9d06066bf91b /pkgs/development/tools | |
parent | 7d59bd47d2817c9998c0ceef871ec652f8754236 (diff) |
pigeon: unstable -> 1.1.0 (#169123)
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/pigeon/default.nix | 22 | ||||
-rw-r--r-- | pkgs/development/tools/pigeon/deps.nix | 66 |
2 files changed, 14 insertions, 74 deletions
diff --git a/pkgs/development/tools/pigeon/default.nix b/pkgs/development/tools/pigeon/default.nix index ae54353305932..b94a9f4bfc369 100644 --- a/pkgs/development/tools/pigeon/default.nix +++ b/pkgs/development/tools/pigeon/default.nix @@ -1,18 +1,24 @@ -{ lib, buildGoPackage, fetchFromGitHub }: -buildGoPackage { - pname = "pigeon"; - version = "20190810-f3db42a662"; +{ lib, buildGoModule, fetchFromGitHub }: - goPackagePath = "github.com/mna/pigeon"; - goDeps = ./deps.nix; +buildGoModule rec { + pname = "pigeon"; + version = "1.1.0"; src = fetchFromGitHub { owner = "mna"; repo = "pigeon"; - rev = "f3db42a662eded7550fc7cd11605d05311dfa30f"; - sha256 = "1n0zqidwbqqfslrirpbqw14ylgiry6ggcp9ll4h8rf1chqwk6dhv"; + rev = "v${version}"; + sha256 = "sha256-0Cp/OnFvVZj9UZgl3F5MCzemBaHI4smGWU46VQnhLOg="; }; + vendorSha256 = "sha256-07zoQL4mLPSERBkZ3sz35Av7zdZsjTyGR8zbA86EEjU="; + + proxyVendor = true; + + subPackages = [ "." ]; + + doCheck = false; + meta = { homepage = "https://github.com/mna/pigeon"; description = "A PEG parser generator for Go"; diff --git a/pkgs/development/tools/pigeon/deps.nix b/pkgs/development/tools/pigeon/deps.nix deleted file mode 100644 index d836dc43c7cde..0000000000000 --- a/pkgs/development/tools/pigeon/deps.nix +++ /dev/null @@ -1,66 +0,0 @@ -# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix) -[ - { - goPackagePath = "golang.org/x/crypto"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/crypto"; - rev = "c2843e01d9a2"; - sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r"; - }; - } - { - goPackagePath = "golang.org/x/net"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/net"; - rev = "3b0461eec859"; - sha256 = "0l00c8l0a8xnv6qdpwfzxxsr58jggacgzdrwiprrfx2xqm37b6d5"; - }; - } - { - goPackagePath = "golang.org/x/sync"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/sync"; - rev = "112230192c58"; - sha256 = "05i2k43j2d0llq768hg5pf3hb2yhfzp9la1w5wp0rsnnzblr0lfn"; - }; - } - { - goPackagePath = "golang.org/x/sys"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/sys"; - rev = "d0b11bdaac8a"; - sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl"; - }; - } - { - goPackagePath = "golang.org/x/text"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/text"; - rev = "v0.3.0"; - sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19"; - }; - } - { - goPackagePath = "golang.org/x/tools"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/tools"; - rev = "b29f5f60c37a"; - sha256 = "118rvb59hc1fykbmif4008rbxw1p0dblc8dxkq96yaapd6p0vbpn"; - }; - } - { - goPackagePath = "golang.org/x/xerrors"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/xerrors"; - rev = "a985d3407aa7"; - sha256 = "00wzr5w8aadipgc3rkk8f11i41znskfj9ix5nhhaxyg7isrslgcj"; - }; - } -] |