2021-04-22 03:38:16 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "esbuild";
|
2022-12-08 16:18:12 +00:00
|
|
|
version = "0.16.1";
|
2021-04-22 03:38:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "evanw";
|
|
|
|
repo = "esbuild";
|
|
|
|
rev = "v${version}";
|
2022-12-08 16:18:12 +00:00
|
|
|
sha256 = "sha256-5b9uJfIGWDQi5exPVCgK/9wrozptX1FebPMrWJ0v4TM=";
|
2021-04-22 03:38:16 +00:00
|
|
|
};
|
|
|
|
|
2022-07-28 06:06:37 +00:00
|
|
|
vendorSha256 = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
2021-04-22 03:38:16 +00:00
|
|
|
|
2022-07-01 04:20:00 +00:00
|
|
|
subPackages = [ "cmd/esbuild" ];
|
|
|
|
|
2022-06-25 20:50:00 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-04-22 03:38:16 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "An extremely fast JavaScript bundler";
|
|
|
|
homepage = "https://esbuild.github.io";
|
2022-12-03 04:20:00 +00:00
|
|
|
changelog = "https://github.com/evanw/esbuild/blob/v${version}/CHANGELOG.md";
|
2021-04-22 03:38:16 +00:00
|
|
|
license = licenses.mit;
|
2022-06-25 20:50:00 +00:00
|
|
|
maintainers = with maintainers; [ lucus16 marsam ];
|
2021-04-22 03:38:16 +00:00
|
|
|
};
|
|
|
|
}
|