2021-04-25 03:57:28 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "esbuild";
|
2023-03-30 22:05:00 +00:00
|
|
|
version = "0.17.14";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "evanw";
|
|
|
|
repo = "esbuild";
|
|
|
|
rev = "v${version}";
|
2023-03-30 22:05:00 +00:00
|
|
|
hash = "sha256-4TC1d5FOZHUMuEMTcTOBLZZM+sFUswhyblI5HVWyvPA=";
|
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;
|
2022-06-26 10:26:21 +00:00
|
|
|
maintainers = with maintainers; [ lucus16 marsam ];
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
}
|