main @ 18 LINES
[ HISTORY ] [ UP ]
┌─ NIX ──────────────────────────────────────────────────────────────────────┐
│ # not a stable interface, do not reference outside the codex package but make a co │
│ py if you need │
│ { │
│ lib, │
│ stdenv, │
│ fetchurl, │
│ }: { │
│ fetchLibrustyV8 = args: │
│ fetchurl { │
│ name = "librusty_v8-${args.version}"; │
│ url = "https://github.com/denoland/rusty_v8/releases/download/v${args.versio │
│ n}/librusty_v8_release_${stdenv.hostPlatform.rust.rustcTarget}.a.gz"; │
│ sha256 = args.shas.${stdenv.hostPlatform.system}; │
│ meta = { │
│ inherit (args) version; │
│ sourceProvenance = with lib.sourceTypes; [binaryNativeCode]; │
│ }; │
│ }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ NIX ────────────────────────────────┐
│ # not a stable interface, do not reference o │
│ utside the codex package but make a copy if │
│ you need │
│ { │
│ lib, │
│ stdenv, │
│ fetchurl, │
│ }: { │
│ fetchLibrustyV8 = args: │
│ fetchurl { │
│ name = "librusty_v8-${args.version}"; │
│ url = "https://github.com/denoland/rus │
│ ty_v8/releases/download/v${args.version}/lib │
│ rusty_v8_release_${stdenv.hostPlatform.rust. │
│ rustcTarget}.a.gz"; │
│ sha256 = args.shas.${stdenv.hostPlatfo │
│ rm.system}; │
│ meta = { │
│ inherit (args) version; │
│ sourceProvenance = with lib.sourceTy │
│ pes; [binaryNativeCode]; │
│ }; │
│ }; │
│ } │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET