2021-04-25 03:57:28 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "esbuild";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.20.0";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "evanw";
|
|
|
|
repo = "esbuild";
|
|
|
|
rev = "v${version}";
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-CJUBjDQAXSUFe37zYGbX6geeEk9goZ/aOalWDHPIZis=";
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
subPackages = [ "cmd/esbuild" ];
|
|
|
|
|
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";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/evanw/esbuild/blob/v${version}/CHANGELOG.md";
|
2021-04-25 03:57:28 +00:00
|
|
|
license = licenses.mit;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ lucus16 marsam undefined-moe ivan ];
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "esbuild";
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
}
|