mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
30 lines
674 B
Nix
30 lines
674 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "protoc-gen-twirp";
|
|
version = "8.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "twitchtv";
|
|
repo = "twirp";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-p3gHVHGBHakOOQnJAuMK7vZumNXN15mOABuEHUG0wNs=";
|
|
};
|
|
|
|
goPackagePath = "github.com/twitchtv/twirp";
|
|
|
|
subPackages = [
|
|
"protoc-gen-twirp"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "A simple RPC framework with protobuf service definitions";
|
|
mainProgram = "protoc-gen-twirp";
|
|
homepage = "https://github.com/twitchtv/twirp";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ jojosch ];
|
|
};
|
|
}
|