Created
September 7, 2019 15:17
-
-
Save danieldk/a3c2a091134fd75db079a37c3c486604 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/crate2nix.nix b/crate2nix.nix | |
index bca75df..8adad74 100644 | |
--- a/crate2nix.nix | |
+++ b/crate2nix.nix | |
@@ -123,6 +123,34 @@ rec { | |
}; | |
resolvedDefaultFeatures = [ "std" ]; | |
}; | |
+ "getrandom 0.1.11 (registry+https://github.com/rust-lang/crates.io-index) renamed to getrandom_package" | |
+ = rec { | |
+ crateName = "getrandom"; | |
+ libName = "getrandom_package"; | |
+ version = "0.1.11"; | |
+ edition = "2018"; | |
+ sha256 = "1f9w5rra9zbnamnh8wl81rw5y87mn3ml4ra5cqrzq2wryzr41651"; | |
+ authors = [ | |
+ "The Rand Project Developers" | |
+ ]; | |
+ dependencies = { | |
+ "cfg-if" = "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)"; | |
+ "libc" = { | |
+ packageId = "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)"; | |
+ usesDefaultFeatures = false; | |
+ target = (target."unix" || (target."os" == "redox")); | |
+ }; | |
+ "wasi" = { | |
+ packageId = "wasi 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)"; | |
+ target = (target."os" == "wasi"); | |
+ }; | |
+ }; | |
+ features = { | |
+ "rustc-dep-of-std" = [ "compiler_builtins" "core" ]; | |
+ }; | |
+ resolvedDefaultFeatures = [ "std" ]; | |
+ }; | |
+ | |
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" | |
= rec { | |
crateName = "lazy_static"; | |
@@ -176,8 +204,8 @@ rec { | |
"The Rust Project Developers" | |
]; | |
dependencies = { | |
- "getrandom" = { | |
- packageId = "getrandom 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)"; | |
+ "getrandom_package" = { | |
+ packageId = "getrandom 0.1.11 (registry+https://github.com/rust-lang/crates.io-index) renamed to getrandom_package"; | |
optional = true; | |
}; | |
"libc" = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/crate2nix.nix b/crate2nix.nix | |
index bca75df..8adad74 100644 | |
--- a/crate2nix.nix | |
+++ b/crate2nix.nix | |
@@ -123,6 +123,34 @@ rec { | |
}; | |
resolvedDefaultFeatures = [ "std" ]; | |
}; | |
+ "getrandom 0.1.11 (registry+https://github.com/rust-lang/crates.io-index) renamed to getrandom_package" | |
+ = rec { | |
+ crateName = "getrandom"; | |
+ libName = "getrandom_package"; | |
+ version = "0.1.11"; | |
+ edition = "2018"; | |
+ sha256 = "1f9w5rra9zbnamnh8wl81rw5y87mn3ml4ra5cqrzq2wryzr41651"; | |
+ authors = [ | |
+ "The Rand Project Developers" | |
+ ]; | |
+ dependencies = { | |
+ "cfg-if" = "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)"; | |
+ "libc" = { | |
+ packageId = "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)"; | |
+ usesDefaultFeatures = false; | |
+ target = (target."unix" || (target."os" == "redox")); | |
+ }; | |
+ "wasi" = { | |
+ packageId = "wasi 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)"; | |
+ target = (target."os" == "wasi"); | |
+ }; | |
+ }; | |
+ features = { | |
+ "rustc-dep-of-std" = [ "compiler_builtins" "core" ]; | |
+ }; | |
+ resolvedDefaultFeatures = [ "std" ]; | |
+ }; | |
+ | |
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" | |
= rec { | |
crateName = "lazy_static"; | |
@@ -176,8 +204,8 @@ rec { | |
"The Rust Project Developers" | |
]; | |
dependencies = { | |
- "getrandom" = { | |
- packageId = "getrandom 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)"; | |
+ "getrandom_package" = { | |
+ packageId = "getrandom 0.1.11 (registry+https://github.com/rust-lang/crates.io-index) renamed to getrandom_package"; | |
optional = true; | |
}; | |
"libc" = { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment