nixpkgs/pkgs/development/compilers/scryer-prolog/cargo.patch
2022-03-14 16:31:05 -03:00

67 lines
1.5 KiB
Diff

diff --git a/Cargo.lock b/Cargo.lock
index 4d699f11..1eb894fc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -875,15 +875,6 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
-[[package]]
-name = "openssl-src"
-version = "300.0.2+3.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14a760a11390b1a5daf72074d4f6ff1a6e772534ae191f999f57e9ee8146d1fb"
-dependencies = [
- "cc",
-]
-
[[package]]
name = "openssl-sys"
version = "0.9.70"
@@ -893,7 +884,6 @@ dependencies = [
"autocfg 1.0.1",
"cc",
"libc",
- "openssl-src",
"pkg-config",
"vcpkg",
]
@@ -1432,6 +1422,7 @@ dependencies = [
"divrem",
"fxhash",
"git-version",
+ "gmp-mpfr-sys",
"hostname",
"indexmap",
"instructions-template",
diff --git a/Cargo.toml b/Cargo.toml
index 8e81a947..d21a8d49 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -55,7 +55,7 @@ ring = "0.16.13"
ripemd160 = "0.8.0"
sha3 = "0.8.2"
blake2 = "0.8.1"
-openssl = { version = "0.10.29", features = ["vendored"] }
+openssl = { version = "0.10.29" }
native-tls = "0.2.4"
chrono = "0.4.11"
select = "0.4.3"
@@ -66,10 +66,14 @@ sodiumoxide = "0.2.6"
static_assertions = "1.1.0"
slice-deque = "0.3.0"
+[dependencies.gmp-mpfr-sys]
+version = "1.4"
+features = ["use-system-libs"]
+
[dev-dependencies]
assert_cmd = "1.0.3"
predicates-core = "1.0.2"
serial_test = "0.5.1"
[profile.release]
-debug = true
\ No newline at end of file
+debug = true