Commit Graph

5 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
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.
2024-03-19 03:14:51 +01:00
R. Ryantm
ac3b333f72 protoc-gen-go-grpc: 1.2.0 -> 1.3.0 2023-03-11 05:55:57 +00:00
Michael Shen
69544f204d
protoc-gen-go-grpc: 1.1.0 -> 1.2.0
Refactor to use buildGoModule
2022-03-19 19:37:55 -04:00
Arnout Engelen
1be3d412c0
treewide: go: inherit platforms instead of using platforms.all
`buildGoModule` and `buildGoPackage` by default inherit the `platforms`
from go. That seems better than explicitly configuring `platforms.all`.

There are also many packages that specify 'linux + darwin' - this is
even suggested in the documentation. We might also want to update those,
but let's do the noncontroversial change first.
2021-04-26 08:59:56 +02:00
Arnout Engelen
8a4abd956f
protoc-gen-go-grpc: init at 1.1.0
Using buildGoModule did not work for this package, and produced the
error "main module (google.golang.org/grpc) does not contain package
google.golang.org/grpc/cmd/protoc-gen-go-grpc". Since buildGoModule and
buildGoPackage both seem in common use and both have their advantages
(https://github.com/NixOS/nixpkgs/issues/84826) just using
buildGoPackage seems like a neat solution here.
2021-04-25 19:51:31 +02:00