rand_testsuite/Cargo.nix

472 lines
20 KiB
Nix
Raw Normal View History

2024-09-05 13:45:23 +00:00
# This file was @generated by cargo2nix 0.11.0.
# It is not intended to be manually edited.
args @ {
release ? true,
rootFeatures ? [
2024-09-06 08:20:10 +00:00
"rand_testsuite/default"
2024-09-05 13:45:23 +00:00
],
rustPackages,
buildRustPackages,
hostPlatform,
hostPlatformCpu ? null,
hostPlatformFeatures ? [],
target ? null,
codegenOpts ? null,
profileOpts ? null,
cargoUnstableFlags ? null,
rustcLinkFlags ? null,
rustcBuildFlags ? null,
mkRustCrate,
rustLib,
lib,
workspaceSrc,
ignoreLockHash,
}: let
2024-10-28 04:02:26 +00:00
nixifiedLockHash = "5604c9f2bec13d4ab9a8a5fba2223479ecd3fc6199912d48c278edb02c0d4ab5";
2024-09-05 13:45:23 +00:00
workspaceSrc =
if args.workspaceSrc == null
then ./.
else args.workspaceSrc;
currentLockHash = builtins.hashFile "sha256" (workspaceSrc + /Cargo.lock);
lockHashIgnored =
if ignoreLockHash
then builtins.trace "Ignoring lock hash" ignoreLockHash
else ignoreLockHash;
in
if !lockHashIgnored && (nixifiedLockHash != currentLockHash)
then throw "Cargo.nix ${nixifiedLockHash} is out of sync with Cargo.lock ${currentLockHash}"
else let
inherit (rustLib) fetchCratesIo fetchCrateLocal fetchCrateGit fetchCrateAlternativeRegistry expandFeatures decideProfile genDrvsByProfile;
profilesByName = {
};
rootFeatures' = expandFeatures rootFeatures;
overridableMkRustCrate = f: let
drvs = genDrvsByProfile profilesByName ({
profile,
profileName,
}:
mkRustCrate ({inherit release profile hostPlatformCpu hostPlatformFeatures target profileOpts codegenOpts cargoUnstableFlags rustcLinkFlags rustcBuildFlags;} // (f profileName)));
in
{
compileMode ? null,
profileName ? decideProfile compileMode release,
}: let
drv = drvs.${profileName};
in
if compileMode == null
then drv
else drv.override {inherit compileMode;};
in {
cargo2nixVersion = "0.11.0";
workspace = {
2024-09-06 08:20:10 +00:00
rand_testsuite = rustPackages.unknown.rand_testsuite."0.1.0";
2024-09-05 13:45:23 +00:00
};
2024-10-28 04:02:26 +00:00
"registry+https://github.com/rust-lang/crates.io-index".autocfg."1.4.0" = overridableMkRustCrate (profileName: rec {
2024-09-06 08:20:10 +00:00
name = "autocfg";
2024-10-28 04:02:26 +00:00
version = "1.4.0";
2024-09-06 08:20:10 +00:00
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
2024-10-28 04:02:26 +00:00
sha256 = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26";
2024-09-06 08:20:10 +00:00
};
});
"registry+https://github.com/rust-lang/crates.io-index".bitvec."1.0.1" = overridableMkRustCrate (profileName: rec {
name = "bitvec";
version = "1.0.1";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c";
};
features = builtins.concatLists [
["alloc"]
["atomic"]
["default"]
["std"]
];
dependencies = {
funty = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".funty."2.0.0" {inherit profileName;}).out;
radium = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".radium."0.7.0" {inherit profileName;}).out;
tap = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".tap."1.0.1" {inherit profileName;}).out;
wyz = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".wyz."0.5.1" {inherit profileName;}).out;
};
});
"registry+https://github.com/rust-lang/crates.io-index".byteorder."1.5.0" = overridableMkRustCrate (profileName: rec {
name = "byteorder";
version = "1.5.0";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b";
};
});
"registry+https://github.com/rust-lang/crates.io-index".cfg-if."1.0.0" = overridableMkRustCrate (profileName: rec {
name = "cfg-if";
version = "1.0.0";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd";
};
});
2024-09-09 18:01:25 +00:00
"sparse+https://git.chir.rs/api/packages/ProcyOS/cargo/".extra-math."0.1.1" = overridableMkRustCrate (profileName: rec {
2024-09-06 20:03:14 +00:00
name = "extra-math";
2024-09-09 18:01:25 +00:00
version = "0.1.1";
2024-09-08 16:54:42 +00:00
registry = "sparse+https://git.chir.rs/api/packages/ProcyOS/cargo/";
src = fetchCrateAlternativeRegistry {
2024-09-17 06:18:42 +00:00
index = "sparse+https://git.chir.rs/api/packages/ProcyOS/cargo/";
2024-09-06 20:03:14 +00:00
name = "extra-math";
2024-09-09 18:01:25 +00:00
version = "0.1.1";
sha256 = "0efe6931de01f01ec0afe614a0299e811e34292ef28368ffcef1c3c7e15b24fb";
2024-09-06 20:03:14 +00:00
};
features = builtins.concatLists [
["default"]
];
dependencies = {
2024-10-28 04:02:26 +00:00
libm = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".libm."0.2.10" {inherit profileName;}).out;
2024-09-06 20:03:14 +00:00
num_traits = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".num-traits."0.2.19" {inherit profileName;}).out;
};
});
2024-09-06 08:20:10 +00:00
"registry+https://github.com/rust-lang/crates.io-index".funty."2.0.0" = overridableMkRustCrate (profileName: rec {
name = "funty";
version = "2.0.0";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c";
};
});
"registry+https://github.com/rust-lang/crates.io-index".getrandom."0.2.15" = overridableMkRustCrate (profileName: rec {
name = "getrandom";
version = "0.2.15";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7";
};
features = builtins.concatLists [
["std"]
];
dependencies = {
cfg_if = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".cfg-if."1.0.0" {inherit profileName;}).out;
${
if hostPlatform.isUnix
then "libc"
else null
} =
2024-10-28 04:02:26 +00:00
(rustPackages."registry+https://github.com/rust-lang/crates.io-index".libc."0.2.161" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
${
if hostPlatform.parsed.kernel.name == "wasi"
then "wasi"
else null
} =
(rustPackages."registry+https://github.com/rust-lang/crates.io-index".wasi."0.11.0+wasi-snapshot-preview1" {inherit profileName;}).out;
};
});
2024-10-28 04:02:26 +00:00
"registry+https://github.com/rust-lang/crates.io-index".libc."0.2.161" = overridableMkRustCrate (profileName: rec {
2024-09-06 08:20:10 +00:00
name = "libc";
2024-10-28 04:02:26 +00:00
version = "0.2.161";
2024-09-06 08:20:10 +00:00
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
2024-10-28 04:02:26 +00:00
sha256 = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1";
2024-09-06 08:20:10 +00:00
};
});
2024-10-28 04:02:26 +00:00
"registry+https://github.com/rust-lang/crates.io-index".libm."0.2.10" = overridableMkRustCrate (profileName: rec {
2024-09-06 08:20:10 +00:00
name = "libm";
2024-10-28 04:02:26 +00:00
version = "0.2.10";
2024-09-06 08:20:10 +00:00
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
2024-10-28 04:02:26 +00:00
sha256 = "a00419de735aac21d53b0de5ce2c03bd3627277cf471300f27ebc89f7d828047";
2024-09-06 08:20:10 +00:00
};
features = builtins.concatLists [
["default"]
];
});
"registry+https://github.com/rust-lang/crates.io-index".num-traits."0.2.19" = overridableMkRustCrate (profileName: rec {
name = "num-traits";
version = "0.2.19";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841";
};
features = builtins.concatLists [
["libm"]
(lib.optional (rootFeatures' ? "rand_testsuite/full" || rootFeatures' ? "rand_testsuite/std") "std")
];
dependencies = {
2024-10-28 04:02:26 +00:00
libm = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".libm."0.2.10" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
};
buildDependencies = {
2024-10-28 04:02:26 +00:00
autocfg = (buildRustPackages."registry+https://github.com/rust-lang/crates.io-index".autocfg."1.4.0" {profileName = "__noProfile";}).out;
2024-09-06 08:20:10 +00:00
};
});
"registry+https://github.com/rust-lang/crates.io-index".ppv-lite86."0.2.20" = overridableMkRustCrate (profileName: rec {
name = "ppv-lite86";
version = "0.2.20";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04";
};
features = builtins.concatLists [
["simd"]
["std"]
];
dependencies = {
zerocopy = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".zerocopy."0.7.35" {inherit profileName;}).out;
};
});
2024-10-28 04:02:26 +00:00
"registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.89" = overridableMkRustCrate (profileName: rec {
2024-09-06 08:20:10 +00:00
name = "proc-macro2";
2024-10-28 04:02:26 +00:00
version = "1.0.89";
2024-09-06 08:20:10 +00:00
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
2024-10-28 04:02:26 +00:00
sha256 = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e";
2024-09-06 08:20:10 +00:00
};
features = builtins.concatLists [
["default"]
["proc-macro"]
];
dependencies = {
2024-09-16 00:01:38 +00:00
unicode_ident = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.13" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
};
});
"registry+https://github.com/rust-lang/crates.io-index".quote."1.0.37" = overridableMkRustCrate (profileName: rec {
name = "quote";
version = "1.0.37";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af";
};
features = builtins.concatLists [
["default"]
["proc-macro"]
];
dependencies = {
2024-10-28 04:02:26 +00:00
proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.89" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
};
});
"registry+https://github.com/rust-lang/crates.io-index".radium."0.7.0" = overridableMkRustCrate (profileName: rec {
name = "radium";
version = "0.7.0";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09";
};
});
"registry+https://github.com/rust-lang/crates.io-index".rand."0.8.5" = overridableMkRustCrate (profileName: rec {
name = "rand";
version = "0.8.5";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404";
};
features = builtins.concatLists [
["alloc"]
["default"]
["getrandom"]
["libc"]
["rand_chacha"]
["std"]
["std_rng"]
];
dependencies = {
${
if hostPlatform.isUnix
then "libc"
else null
} =
2024-10-28 04:02:26 +00:00
(rustPackages."registry+https://github.com/rust-lang/crates.io-index".libc."0.2.161" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
rand_chacha = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".rand_chacha."0.3.1" {inherit profileName;}).out;
rand_core = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".rand_core."0.6.4" {inherit profileName;}).out;
};
});
"registry+https://github.com/rust-lang/crates.io-index".rand_chacha."0.3.1" = overridableMkRustCrate (profileName: rec {
name = "rand_chacha";
version = "0.3.1";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88";
};
features = builtins.concatLists [
["std"]
];
dependencies = {
ppv_lite86 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".ppv-lite86."0.2.20" {inherit profileName;}).out;
rand_core = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".rand_core."0.6.4" {inherit profileName;}).out;
};
});
"registry+https://github.com/rust-lang/crates.io-index".rand_core."0.6.4" = overridableMkRustCrate (profileName: rec {
name = "rand_core";
version = "0.6.4";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c";
};
features = builtins.concatLists [
["alloc"]
["getrandom"]
["std"]
];
dependencies = {
getrandom = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".getrandom."0.2.15" {inherit profileName;}).out;
};
});
"unknown".rand_testsuite."0.1.0" = overridableMkRustCrate (profileName: rec {
name = "rand_testsuite";
2024-09-05 13:45:23 +00:00
version = "0.1.0";
registry = "unknown";
src = fetchCrateLocal workspaceSrc;
2024-09-06 08:20:10 +00:00
features = builtins.concatLists [
(lib.optional (rootFeatures' ? "rand_testsuite/alloc" || rootFeatures' ? "rand_testsuite/full" || rootFeatures' ? "rand_testsuite/rand_core") "alloc")
(lib.optional (rootFeatures' ? "rand_testsuite/full") "full")
(lib.optional (rootFeatures' ? "rand_testsuite/full" || rootFeatures' ? "rand_testsuite/rand_core") "rand_core")
(lib.optional (rootFeatures' ? "rand_testsuite/full" || rootFeatures' ? "rand_testsuite/std") "std")
];
dependencies = {
bitvec = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".bitvec."1.0.1" {inherit profileName;}).out;
2024-09-09 18:01:25 +00:00
extra_math = (rustPackages."sparse+https://git.chir.rs/api/packages/ProcyOS/cargo/".extra-math."0.1.1" {inherit profileName;}).out;
2024-10-28 04:02:26 +00:00
libm = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".libm."0.2.10" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
num_traits = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".num-traits."0.2.19" {inherit profileName;}).out;
${
if rootFeatures' ? "rand_testsuite/full" || rootFeatures' ? "rand_testsuite/rand_core"
then "rand_core"
else null
} =
(rustPackages."registry+https://github.com/rust-lang/crates.io-index".rand_core."0.6.4" {inherit profileName;}).out;
};
devDependencies = {
bitvec = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".bitvec."1.0.1" {inherit profileName;}).out;
rand = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".rand."0.8.5" {inherit profileName;}).out;
};
});
2024-10-28 04:02:26 +00:00
"registry+https://github.com/rust-lang/crates.io-index".syn."2.0.85" = overridableMkRustCrate (profileName: rec {
2024-09-06 08:20:10 +00:00
name = "syn";
2024-10-28 04:02:26 +00:00
version = "2.0.85";
2024-09-06 08:20:10 +00:00
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
2024-10-28 04:02:26 +00:00
sha256 = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56";
2024-09-06 08:20:10 +00:00
};
features = builtins.concatLists [
["clone-impls"]
["default"]
["derive"]
["parsing"]
["printing"]
["proc-macro"]
];
dependencies = {
2024-10-28 04:02:26 +00:00
proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.89" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.37" {inherit profileName;}).out;
2024-09-16 00:01:38 +00:00
unicode_ident = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.13" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
};
});
"registry+https://github.com/rust-lang/crates.io-index".tap."1.0.1" = overridableMkRustCrate (profileName: rec {
name = "tap";
version = "1.0.1";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369";
};
});
2024-09-16 00:01:38 +00:00
"registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.13" = overridableMkRustCrate (profileName: rec {
2024-09-06 08:20:10 +00:00
name = "unicode-ident";
2024-09-16 00:01:38 +00:00
version = "1.0.13";
2024-09-06 08:20:10 +00:00
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
2024-09-16 00:01:38 +00:00
sha256 = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe";
2024-09-06 08:20:10 +00:00
};
});
"registry+https://github.com/rust-lang/crates.io-index".wasi."0.11.0+wasi-snapshot-preview1" = overridableMkRustCrate (profileName: rec {
name = "wasi";
version = "0.11.0+wasi-snapshot-preview1";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423";
};
});
"registry+https://github.com/rust-lang/crates.io-index".wyz."0.5.1" = overridableMkRustCrate (profileName: rec {
name = "wyz";
version = "0.5.1";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed";
};
dependencies = {
tap = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".tap."1.0.1" {inherit profileName;}).out;
};
});
"registry+https://github.com/rust-lang/crates.io-index".zerocopy."0.7.35" = overridableMkRustCrate (profileName: rec {
name = "zerocopy";
version = "0.7.35";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0";
};
features = builtins.concatLists [
["byteorder"]
["default"]
["derive"]
["simd"]
["zerocopy-derive"]
];
dependencies = {
byteorder = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".byteorder."1.5.0" {inherit profileName;}).out;
zerocopy_derive = (buildRustPackages."registry+https://github.com/rust-lang/crates.io-index".zerocopy-derive."0.7.35" {profileName = "__noProfile";}).out;
};
});
"registry+https://github.com/rust-lang/crates.io-index".zerocopy-derive."0.7.35" = overridableMkRustCrate (profileName: rec {
name = "zerocopy-derive";
version = "0.7.35";
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo {
inherit name version;
sha256 = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e";
};
dependencies = {
2024-10-28 04:02:26 +00:00
proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.89" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.37" {inherit profileName;}).out;
2024-10-28 04:02:26 +00:00
syn = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".syn."2.0.85" {inherit profileName;}).out;
2024-09-06 08:20:10 +00:00
};
2024-09-05 13:45:23 +00:00
});
}