Merge fort-nix/nix-bitcoin#666: joinmarket: remove custom secp256k1 package
e56ca3de6bjoinmarket: remove custom secp256k1 package (Jonas Nick) Pull request description: ACKs for top commit: erikarvstedt: ACKe56ca3de6bTree-SHA512: 12f022042077247eb86446d256b601934dc790b0f4aacf84d85120dedcb74d03170eec294b49e41b6cc15101c8947f11f82761de8bfafcef023ea93d0ef8525e
This commit is contained in:
commit
243c221d64
3 changed files with 1 additions and 49 deletions
|
|
@ -21,8 +21,6 @@ let self = {
|
||||||
mempool-backend
|
mempool-backend
|
||||||
mempool-frontend
|
mempool-frontend
|
||||||
mempool-nginx-conf;
|
mempool-nginx-conf;
|
||||||
# The secp256k1 version used by joinmarket
|
|
||||||
secp256k1 = pkgs.callPackage ./secp256k1 { };
|
|
||||||
trustedcoin = pkgs.callPackage ./trustedcoin { };
|
trustedcoin = pkgs.callPackage ./trustedcoin { };
|
||||||
|
|
||||||
pyPkgs = import ./python-packages self pkgs.python3;
|
pyPkgs = import ./python-packages self pkgs.python3;
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ rec {
|
||||||
# Packages only used by joinmarket
|
# Packages only used by joinmarket
|
||||||
bencoderpyx = callPackage ./bencoderpyx {};
|
bencoderpyx = callPackage ./bencoderpyx {};
|
||||||
chromalog = callPackage ./chromalog {};
|
chromalog = callPackage ./chromalog {};
|
||||||
python-bitcointx = callPackage ./python-bitcointx { inherit (nbPkgs) secp256k1; };
|
python-bitcointx = callPackage ./python-bitcointx { inherit (self.pkgs) secp256k1; };
|
||||||
runes = callPackage ./runes {};
|
runes = callPackage ./runes {};
|
||||||
sha256 = callPackage ./sha256 {};
|
sha256 = callPackage ./sha256 {};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
||||||
{ lib
|
|
||||||
, stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, autoreconfHook
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "secp256k1";
|
|
||||||
|
|
||||||
version = "2021-12-03";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "bitcoin-core";
|
|
||||||
repo = "secp256k1";
|
|
||||||
rev = "490022745164b56439688b0fc04f9bd43578e5c3";
|
|
||||||
hash = "sha256-6CmGWiecthaGWSKX7VHWj5zvDAwVE9U5YOo9JRJWYwI=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
|
||||||
|
|
||||||
configureFlags = [
|
|
||||||
"--enable-benchmark=no"
|
|
||||||
"--enable-exhaustive-tests=no"
|
|
||||||
"--enable-experimental"
|
|
||||||
"--enable-module-ecdh"
|
|
||||||
"--enable-module-recovery"
|
|
||||||
"--enable-module-schnorrsig"
|
|
||||||
];
|
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
checkPhase = "./tests";
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Optimized C library for EC operations on curve secp256k1";
|
|
||||||
longDescription = ''
|
|
||||||
Optimized C library for EC operations on curve secp256k1. Part of
|
|
||||||
Bitcoin Core. This library is a work in progress and is being used
|
|
||||||
to research best practices. Use at your own risk.
|
|
||||||
'';
|
|
||||||
homepage = "https://github.com/bitcoin-core/secp256k1";
|
|
||||||
license = with licenses; [ mit ];
|
|
||||||
maintainers = with maintainers; [ nixbitcoin ];
|
|
||||||
platforms = with platforms; unix;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue