blob: a245ee5e4f02ff332fff08bcdf175399fd79f86d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
buildNpmPackage,
fetchFromGitHub,
npm-lockfile-fix,
}:
buildNpmPackage rec {
pname = "protoc-gen-connect-es";
version = "1.4.0";
src = fetchFromGitHub {
owner = "connectrpc";
repo = "connect-es";
rev = "refs/tags/v${version}";
hash = "sha256-qCIwr4Hyc5PARUa7tMntuyWRmO6ognmtjxN0myo8FXc=";
postFetch = ''
${lib.getExe npm-lockfile-fix} $out/package-lock.json
'';
};
npmDepsHash = "sha256-OGwEpXZqzMSIES+cmseQlo6/vzkx5ztO0gM/rUB0tGY=";
npmWorkspace = "packages/protoc-gen-connect-es";
passthru.updateScript = ./update.sh;
meta = with lib; {
description = "Protobuf plugin for generating Connect-ecompatiblenabled ECMAScript code";
homepage = "https://github.com/connectrpc/connect-es";
changelog = "https://github.com/connectrpc/connect-es/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [
felschr
jtszalay
];
};
}
|