depot/third_party/nixpkgs/pkgs/development/tools/esbuild/netlify.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
701 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
, netlify-cli
}:
buildGoModule rec {
pname = "esbuild";
version = "0.14.39";
src = fetchFromGitHub {
owner = "netlify";
repo = "esbuild";
rev = "5faa7ad54c99a953d05c06819298d2b6f8c82d80";
sha256 = "pYiwGjgFMclPYTW0Qml7Pr/knT1gywUAGANra5aojYM=";
};
vendorHash = "sha256-QPkBR+FscUc3jOvH7olcGUhM6OW4vxawmNJuRQxPuGs=";
passthru = {
tests = {
inherit netlify-cli;
};
};
meta = with lib; {
description = "Fork of esbuild maintained by netlify";
homepage = "https://github.com/netlify/esbuild";
license = licenses.mit;
maintainers = with maintainers; [ roberth ];
mainProgram = "esbuild";
};
}