2021-04-25 03:57:28 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "esbuild";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "0.14.47";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "evanw";
|
|
|
|
repo = "esbuild";
|
|
|
|
rev = "v${version}";
|
2022-06-26 10:26:21 +00:00
|
|
|
sha256 = "sha256-4T+kH8aDIN18lGkduHUTg+kXjU3JZRvmzXsT2gVNar4=";
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
vendorSha256 = "sha256-QPkBR+FscUc3jOvH7olcGUhM6OW4vxawmNJuRQxPuGs=";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "An extremely fast JavaScript bundler";
|
|
|
|
homepage = "https://esbuild.github.io";
|
|
|
|
license = licenses.mit;
|
2022-06-26 10:26:21 +00:00
|
|
|
maintainers = with maintainers; [ lucus16 marsam ];
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
}
|