2019-10-03 00:57:49 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "protolock";
|
2019-11-09 04:52:11 +00:00
|
|
|
version = "0.15.0";
|
2019-10-03 00:57:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nilslice";
|
|
|
|
repo = "protolock";
|
|
|
|
rev = "v${version}";
|
2019-11-09 04:52:11 +00:00
|
|
|
sha256 = "0qg26vcqdhgy91p6wiv16dq73ay0fymran3d8ylca9264zwi2vxw";
|
2019-10-03 00:57:49 +01:00
|
|
|
};
|
|
|
|
|
2019-11-09 04:52:11 +00:00
|
|
|
modSha256 = "1q755ipqsfpr41s5fxzmx50lwcdqc5a7akwx6mzn789w2z07x8lg";
|
2019-10-03 00:57:49 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm $out/bin/plugin*
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Protocol Buffer companion tool. Track your .proto files and prevent changes to messages and services which impact API compatibility. https://protolock.dev";
|
|
|
|
homepage = "https://github.com/nilslice/protolock";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ groodt ];
|
|
|
|
};
|
|
|
|
}
|