depot/third_party/nixpkgs/pkgs/development/tools/pigeon/default.nix

29 lines
624 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pigeon";
version = "1.1.0";
src = fetchFromGitHub {
owner = "mna";
repo = "pigeon";
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";
maintainers = with lib.maintainers; [ zimbatm ];
license = with lib.licenses; [ bsd3 ];
};
}