2019-10-03 01:57:49 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "protolock";
|
2022-03-04 16:53:31 +01:00
|
|
|
version = "0.16.0";
|
2019-10-03 01:57:49 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nilslice";
|
|
|
|
repo = "protolock";
|
|
|
|
rev = "v${version}";
|
2022-03-04 16:53:31 +01:00
|
|
|
sha256 = "sha256-vWwRZVArmlTIGwD4zV3dEHN2kkoeCZuNIvjCBVAviPo=";
|
2019-10-03 01:57:49 +02:00
|
|
|
};
|
|
|
|
|
2022-03-04 16:53:31 +01:00
|
|
|
vendorSha256 = "sha256-kgSJUSjY8kgrGCNDPgw1WA8KwAqI5koJQ0IcE+tC5nk=";
|
2019-10-03 01:57:49 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-10-03 01:57:49 +02: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 ];
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|