# COPIED FROM nixpkgs/pkgs/by-name/router { lib, stdenv, fetchurl, }: let fetch_librusty_v8 = args: fetchurl { name = "librusty_v8-${args.version}"; url = "https://github.com/denoland/rusty_v8/releases/download/v${args.version}/librusty_v8_release_${stdenv.hostPlatform.rust.rustcTarget}.a"; sha256 = args.shas.${stdenv.hostPlatform.system}; meta = { inherit (args) version; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; }; in fetch_librusty_v8 { version = "130.0.7"; shas = { x86_64-linux = "sha256-pkdsuU6bAkcIHEZUJOt5PXdzK424CEgTLXjLtQ80t10="; }; }