Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "pigeon";
5 version = "1.1.0";
6
7 src = fetchFromGitHub {
8 owner = "mna";
9 repo = "pigeon";
10 rev = "v${version}";
11 sha256 = "sha256-0Cp/OnFvVZj9UZgl3F5MCzemBaHI4smGWU46VQnhLOg=";
12 };
13
14 vendorSha256 = "sha256-JbBXRkxnB7LeeWdBLIQvyjvWo0zZ1EOuEUPXxHWiq+E=";
15
16 proxyVendor = true;
17
18 subPackages = [ "." ];
19
20 doCheck = false;
21
22 meta = {
23 homepage = "https://github.com/mna/pigeon";
24 description = "A PEG parser generator for Go";
25 maintainers = with lib.maintainers; [ zimbatm ];
26 license = with lib.licenses; [ bsd3 ];
27 };
28}