···44, fetchFromGitHub
55, rustPlatform
66, installShellFiles
77-, tinycc
87, libiconv
98, darwin
109, librusty_v8 ? callPackage ./librusty_v8.nix { }
···12111312rustPlatform.buildRustPackage rec {
1413 pname = "deno";
1515- version = "1.33.3";
1414+ version = "1.34.0";
16151716 src = fetchFromGitHub {
1817 owner = "denoland";
1918 repo = pname;
2019 rev = "v${version}";
2121- hash = "sha256-E1Usmj4f3jvzllKIrItzOIe4kf0DRQWwobVGuN291Ys=";
2020+ hash = "sha256-B9YzJsnbohzQQQj2Ec1szh/aY2zoYFOoEXTShwOzMlE=";
2221 };
2323- cargoHash = "sha256-8L9UrFQTpwG2Gw4V72NvqdqQicG0HPRdmNJPhkWqj4s=";
2222+ cargoHash = "sha256-rwN7pEb6bDLb7YrcfuWC9Y0m7b+50AeLKMKx7WLKYT8=";
24232524 postPatch = ''
2625 # upstream uses lld on aarch64-darwin for faster builds
···3938 # The v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
4039 # To avoid this we pre-download the file and export it via RUSTY_V8_ARCHIVE
4140 RUSTY_V8_ARCHIVE = librusty_v8;
4242-4343- # The deno_ffi package currently needs libtcc.a on linux and macos and will try to compile it at build time
4444- # To avoid this we point it to our copy (dir)
4545- # In the future tinycc will be replaced with asm
4646- libtcc = tinycc.overrideAttrs (oa: {
4747- makeFlags = [ "libtcc.a" ];
4848- # tests want tcc binary
4949- doCheck = false;
5050- outputs = [ "out" ];
5151- installPhase = ''
5252- mkdir -p $out/lib/
5353- mv libtcc.a $out/lib/
5454- '';
5555- # building the whole of tcc on darwin is broken in nixpkgs
5656- # but just building libtcc.a works fine so mark this as unbroken
5757- meta.broken = false;
5858- });
5959- TCC_PATH = "${libtcc}/lib";
60416142 # Tests have some inconsistencies between runs with output integration tests
6243 # Skipping until resolved