nixpkgs/pkgs/development/tools/proto-contrib/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

25 lines
625 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "proto-contrib";
version = "0.9.0";
src = fetchFromGitHub {
owner = "emicklei";
repo = pname;
rev = "v${version}";
sha256 = "0ksxic7cypv9gg8q5lkl5bla1n9i65z7b03cx9lwq6252glmf2jk";
};
vendorHash = "sha256-XAFB+DDWN7CLfNxIBqYJy88gUNrUJYExzy2/BFnBe8c=";
doCheck = false;
meta = with lib; {
description = "Contributed tools and other packages on top of the Go proto package";
homepage = "https://github.com/emicklei/proto-contrib";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
};
}