mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 13:06:09 +03:00
secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh
This commit is contained in:
parent
4f1acce662
commit
dbb6a09564
@ -23,6 +23,4 @@ in prev.lib.optionalAttrs isMusl {
|
|||||||
rhash = overrideStdenv prev.rhash;
|
rhash = overrideStdenv prev.rhash;
|
||||||
|
|
||||||
numactl = overrideStdenv prev.numactl;
|
numactl = overrideStdenv prev.numactl;
|
||||||
|
|
||||||
# lmdb = overrideStdenv prev.lmdb;
|
|
||||||
}
|
}
|
||||||
|
@ -12,11 +12,6 @@ in {
|
|||||||
meta.platforms = prev.lib.platforms.linux ++ prev.lib.platforms.darwin;
|
meta.platforms = prev.lib.platforms.linux ++ prev.lib.platforms.darwin;
|
||||||
});
|
});
|
||||||
|
|
||||||
secp256k1 = prev.secp256k1.overrideAttrs (_attrs: {
|
|
||||||
version = final.sources.secp256k1.rev;
|
|
||||||
src = final.sources.secp256k1;
|
|
||||||
});
|
|
||||||
|
|
||||||
libsigsegv = prev.libsigsegv.overrideAttrs (attrs: {
|
libsigsegv = prev.libsigsegv.overrideAttrs (attrs: {
|
||||||
patches = optionalList attrs.patches ++ [
|
patches = optionalList attrs.patches ++ [
|
||||||
../pkgs/libsigsegv/disable-stackvma_fault-linux-arm.patch
|
../pkgs/libsigsegv/disable-stackvma_fault-linux-arm.patch
|
||||||
|
@ -31,6 +31,24 @@
|
|||||||
"url": "https://github.com/LMDB/lmdb/archive/48a7fed59a8aae623deff415dda27097198ca0c1.tar.gz",
|
"url": "https://github.com/LMDB/lmdb/archive/48a7fed59a8aae623deff415dda27097198ca0c1.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
|
"secp256k1": {
|
||||||
|
"branch": "master",
|
||||||
|
"description": "Optimized C library for ECDSA signatures and secret/public key operations on curve secp256k1.",
|
||||||
|
"homepage": null,
|
||||||
|
"owner": "bitcoin-core",
|
||||||
|
"pmnsh": {
|
||||||
|
"include": "include",
|
||||||
|
"lib": ".libs",
|
||||||
|
"make": "libsecp256k1.la",
|
||||||
|
"prepare": "./autogen.sh && ./configure --disable-shared --enable-module-recovery CFLAGS=-DSECP256K1_API="
|
||||||
|
},
|
||||||
|
"repo": "secp256k1",
|
||||||
|
"rev": "7973576f6e3ab27d036a09397152b124d747f4ae",
|
||||||
|
"sha256": "0vjk55dv0mkph4k6bqgkykmxn05ngzvhc4rzjnvn33xzi8dzlvah",
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://github.com/bitcoin-core/secp256k1/archive/7973576f6e3ab27d036a09397152b124d747f4ae.tar.gz",
|
||||||
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
|
},
|
||||||
"uv": {
|
"uv": {
|
||||||
"branch": "v1.x",
|
"branch": "v1.x",
|
||||||
"description": "Cross-platform asynchronous I/O",
|
"description": "Cross-platform asynchronous I/O",
|
||||||
|
@ -84,24 +84,6 @@
|
|||||||
"url": "https://github.com/NixOS/nixpkgs/archive/21.11.tar.gz",
|
"url": "https://github.com/NixOS/nixpkgs/archive/21.11.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"secp256k1": {
|
|
||||||
"branch": "master",
|
|
||||||
"description": "Optimized C library for ECDSA signatures and secret/public key operations on curve secp256k1.",
|
|
||||||
"homepage": null,
|
|
||||||
"owner": "bitcoin-core",
|
|
||||||
"pmnsh": {
|
|
||||||
"include": "include",
|
|
||||||
"lib": ".libs",
|
|
||||||
"make": "libsecp256k1.la",
|
|
||||||
"prepare": "./autogen.sh && ./configure --disable-shared --enable-module-recovery CFLAGS=-DSECP256K1_API="
|
|
||||||
},
|
|
||||||
"repo": "secp256k1",
|
|
||||||
"rev": "26de4dfeb1f1436dae1fcf17f57bdaa43540f940",
|
|
||||||
"sha256": "03i3nv8d3ci7q9y98q11rrp3rvwdqc0hc0ss0pr6xckybvizsmbb",
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://github.com/bitcoin-core/secp256k1/archive/26de4dfeb1f1436dae1fcf17f57bdaa43540f940.tar.gz",
|
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
|
||||||
},
|
|
||||||
"softfloat3": {
|
"softfloat3": {
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"description": null,
|
"description": null,
|
||||||
|
Loading…
Reference in New Issue
Block a user