41ccac28d5
Diff: https://github.com/evanw/esbuild/compare/v0.18.19...v0.18.20 Changelog: https://github.com/evanw/esbuild/blob/v0.18.20/CHANGELOG.md
28 lines
747 B
Nix
28 lines
747 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "esbuild";
|
|
version = "0.18.20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "evanw";
|
|
repo = "esbuild";
|
|
rev = "v${version}";
|
|
hash = "sha256-mED3h+mY+4H465m02ewFK/BgA1i/PQ+ksUNxBlgpUoI=";
|
|
};
|
|
|
|
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
|
|
|
subPackages = [ "cmd/esbuild" ];
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "An extremely fast JavaScript bundler";
|
|
homepage = "https://esbuild.github.io";
|
|
changelog = "https://github.com/evanw/esbuild/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lucus16 marsam undefined-moe ];
|
|
mainProgram = "esbuild";
|
|
};
|
|
}
|