13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
26 lines
625 B
Nix
26 lines
625 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "esbuild";
|
|
version = "0.15.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "evanw";
|
|
repo = "esbuild";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-vLdj5naUDKVCENqGfQRoxbnHd+nuZu6Ac6HTSPnqoVA=";
|
|
};
|
|
|
|
vendorSha256 = "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";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lucus16 marsam ];
|
|
};
|
|
}
|