d2947cfef0
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
26 lines
626 B
Nix
26 lines
626 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "esbuild";
|
|
version = "0.15.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "evanw";
|
|
repo = "esbuild";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-DebmLtgPrla+1UcvOHMnWmxa/ZqrugeRRKXIiJ9LYDk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|