mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
Merge pull request #308949 from amarshall/librusty_v8-source-provenance
treewide: mark packages using librusty_v8 as binaryNativeCode
This commit is contained in:
commit
4bf63184e2
|
@ -74,7 +74,10 @@ rustPlatform.buildRustPackage {
|
||||||
name = "librusty_v8-${args.version}";
|
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";
|
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} or (throw "Unsupported platform ${stdenv.hostPlatform.system}");
|
sha256 = args.shas.${stdenv.hostPlatform.system} or (throw "Unsupported platform ${stdenv.hostPlatform.system}");
|
||||||
meta = { inherit (args) version; };
|
meta = {
|
||||||
|
inherit (args) version;
|
||||||
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
fetch_librusty_v8 {
|
fetch_librusty_v8 {
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
# auto-generated file -- DO NOT EDIT!
|
# auto-generated file -- DO NOT EDIT!
|
||||||
{ stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
fetch_librusty_v8 = args: fetchurl {
|
fetch_librusty_v8 = args: fetchurl {
|
||||||
name = "librusty_v8-${args.version}";
|
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.gz";
|
url = "https://github.com/denoland/rusty_v8/releases/download/v${args.version}/librusty_v8_release_${stdenv.hostPlatform.rust.rustcTarget}.a.gz";
|
||||||
sha256 = args.shas.${stdenv.hostPlatform.system};
|
sha256 = args.shas.${stdenv.hostPlatform.system};
|
||||||
meta = { inherit (args) version; };
|
meta = {
|
||||||
|
inherit (args) version;
|
||||||
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
fetch_librusty_v8 {
|
fetch_librusty_v8 {
|
||||||
|
|
|
@ -40,14 +40,17 @@ fetchurl {
|
||||||
|
|
||||||
const templateDeps = (version: string, deps: PrefetchResult[]) =>
|
const templateDeps = (version: string, deps: PrefetchResult[]) =>
|
||||||
`# auto-generated file -- DO NOT EDIT!
|
`# auto-generated file -- DO NOT EDIT!
|
||||||
{ stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
fetch_librusty_v8 = args: fetchurl {
|
fetch_librusty_v8 = args: fetchurl {
|
||||||
name = "librusty_v8-\${args.version}";
|
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.gz";
|
url = "https://github.com/denoland/rusty_v8/releases/download/v\${args.version}/librusty_v8_release_\${stdenv.hostPlatform.rust.rustcTarget}.a.gz";
|
||||||
sha256 = args.shas.\${stdenv.hostPlatform.system};
|
sha256 = args.shas.\${stdenv.hostPlatform.system};
|
||||||
meta = { inherit (args) version; };
|
meta = {
|
||||||
|
inherit (args) version;
|
||||||
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
fetch_librusty_v8 {
|
fetch_librusty_v8 {
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
# auto-generated file -- DO NOT EDIT!
|
{ lib, stdenv, fetchurl }:
|
||||||
{ stdenv, fetchurl }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
fetch_librusty_v8 = args: fetchurl {
|
fetch_librusty_v8 = args: fetchurl {
|
||||||
name = "librusty_v8-${args.version}";
|
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";
|
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};
|
sha256 = args.shas.${stdenv.hostPlatform.system};
|
||||||
meta = { inherit (args) version; };
|
meta = {
|
||||||
|
inherit (args) version;
|
||||||
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
fetch_librusty_v8 {
|
fetch_librusty_v8 {
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
{ stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
fetch_librusty_v8 = args: fetchurl {
|
fetch_librusty_v8 = args: fetchurl {
|
||||||
name = "librusty_v8-${args.version}";
|
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";
|
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};
|
sha256 = args.shas.${stdenv.hostPlatform.system};
|
||||||
meta = { inherit (args) version; };
|
meta = {
|
||||||
|
inherit (args) version;
|
||||||
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
fetch_librusty_v8 {
|
fetch_librusty_v8 {
|
||||||
|
|
Loading…
Reference in a new issue