Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, rustPlatform, fetchFromGitHub, pkg-config, bzip2, openssl, zstd,}:
rustPlatform.buildRustPackage rec { pname = "boa"; version = "0.20";
src = fetchFromGitHub { owner = "boa-dev"; repo = "boa"; rev = "v${version}"; hash = "sha256-foCIzzFoEpcE6i0QrSbiob3YHIOeTpjwpAMtcPGL8Vg="; fetchSubmodules = true; };
cargoHash = "sha256-PphgRSVCj724eYAC04Orpz/klYuAhphiQ3v5TRChs+w=";
cargoBuildFlags = [ "--package" "boa_cli" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ bzip2 openssl zstd ];
env = { ZSTD_SYS_USE_PKG_CONFIG = true; };
meta = with lib; { description = "Embeddable and experimental Javascript engine written in Rust"; mainProgram = "boa"; homepage = "https://github.com/boa-dev/boa"; changelog = "https://github.com/boa-dev/boa/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ mit # or unlicense ]; maintainers = with maintainers; [ dit7ya ]; };}