mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
4a49046c3a
Diff: https://github.com/evanw/esbuild/compare/v0.19.12...v0.20.0 Changelog: https://github.com/evanw/esbuild/blob/v0.20.0/CHANGELOG.md
29 lines
751 B
Nix
29 lines
751 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "esbuild";
|
|
version = "0.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "evanw";
|
|
repo = "esbuild";
|
|
rev = "v${version}";
|
|
hash = "sha256-CJUBjDQAXSUFe37zYGbX6geeEk9goZ/aOalWDHPIZis=";
|
|
};
|
|
|
|
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 ivan ];
|
|
mainProgram = "esbuild";
|
|
};
|
|
}
|