2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
, netlify-cli
|
|
|
|
}:
|
2021-10-17 02:12:59 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "esbuild";
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "0.14.39";
|
2021-10-17 02:12:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "netlify";
|
|
|
|
repo = "esbuild";
|
2022-11-27 09:42:12 +00:00
|
|
|
rev = "5faa7ad54c99a953d05c06819298d2b6f8c82d80";
|
|
|
|
sha256 = "pYiwGjgFMclPYTW0Qml7Pr/knT1gywUAGANra5aojYM=";
|
2021-10-17 02:12:59 +00:00
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
vendorSha256 = "sha256-QPkBR+FscUc3jOvH7olcGUhM6OW4vxawmNJuRQxPuGs=";
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
tests = {
|
|
|
|
inherit netlify-cli;
|
|
|
|
};
|
|
|
|
};
|
2021-10-17 02:12:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A fork of esbuild maintained by netlify";
|
|
|
|
homepage = "https://github.com/netlify/esbuild";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ roberth ];
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "esbuild";
|
2021-10-17 02:12:59 +00:00
|
|
|
};
|
|
|
|
}
|