AC
Size: a a a
AC
Б
deps = import ./deps.nix { };
arch = rust.toRustTarget stdenv.hostPlatform;
rustyV8Lib = with deps.rustyV8Lib; fetchurl {
url = "https://github.com/denoland/rusty_v8/releases/download/v${version}/librusty_v8_release_${arch}.a";
sha256 = sha256s."${stdenv.hostPlatform.system}";
meta = { inherit version; };
};
LW
Б
{ stdenv, fetchzip, ... }:
stdenv.mkDerivation rec {
name = "deno-binary-custom";
version = "v1.7.2";
target = "x86_64-unknown-linux-gnu";
src = fetchzip {
url = "https://github.com/denoland/deno/releases/download/${version}/deno-${target}.zip";
sha256 = "sha256-67rc9EkC18M+ERQGYpxibipOMn2YK3CdofSm3OujU8Y=";
};
meta = with stdenv.lib; {
homepage = "https://deno.land";
description = "A secure runtime for JavaScript and TypeScript";
license = licenses.mit;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}
Б
{ stdenv, fetchzip, ... }:
stdenv.mkDerivation rec {
name = "deno-binary-custom";
version = "v1.7.2";
target = "x86_64-unknown-linux-gnu";
src = fetchzip {
url = "https://github.com/denoland/deno/releases/download/${version}/deno-${target}.zip";
sha256 = "sha256-67rc9EkC18M+ERQGYpxibipOMn2YK3CdofSm3OujU8Y=";
};
meta = with stdenv.lib; {
homepage = "https://deno.land";
description = "A secure runtime for JavaScript and TypeScript";
license = licenses.mit;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}
302| value = builtins.addErrorContext (context name)
303| (args.${name} or config._module.args.${name});
| ^
304| }) requiredArgs);
АБ
Б
АБ
АБ
АБ
АБ
pkgs.callPackage
АБ
nixpkgs.overlays = [ (final: prev: { deno = final.callPackage ./deno.nix { }; }) ];
АБ
АБ