on master help sign in
Add Haskoin and its dependencies
commit22cf215e7184093d5f5123ea4579c0786830fb3f authorJean-Pierre Rupp <xenog@protonmail.com> dateMon 10 Sep 2018, 00:41 (8 years ago) parentb59820d
2 files changed+21
build-constraints.yaml+10 debian-bootstrap.sh+11
build-constraints.yaml+10
@@ -3580,6 +3580,16 @@ packages:
35803580 "Wanja Chresta <wanja.hs@chrummibei.ch> @wchresta":
35813581 - matrix-static
35823582
3583+ "Jean-Pierre Rupp <xenog@protonmail.com> @xenog":
3584+ - murmur3
3585+ - nqe
3586+ - secp256k1
3587+ - rocksdb-haskell
3588+ - rocksdb-query
3589+ - haskoin-core
3590+ - haskoin-node
3591+ - haskoin-store
3592+
35833593 # If you stop maintaining a package you can move it here.
35843594 # It will then be disabled if it starts causing problems.
35853595 # See https://github.com/fpco/stackage/issues/1056
debian-bootstrap.sh+11
@@ -103,6 +103,7 @@ apt-get install -y \
103103 libpcap0.8-dev \
104104 libpq-dev \
105105 libre2-dev \
106+ librocksdb-dev \
106107 libsdl1.2-dev \
107108 libsdl2-dev \
108109 libsdl2-gfx-dev \
@@ -254,6 +255,16 @@ curl https://download.libsodium.org/libsodium/releases/LATEST.tar.gz > libsodium
254255 && ./configure \
255256 && make install
256257
258+# Install secp256k1
259+cd /tmp \
260+ && git clone https://github.com/bitcoin-core/secp256k1.git \
261+ && cd secp256k1 \
262+ && ./autogen.sh \
263+ && ./configure --enable-module-recovery \
264+ && make \
265+ && make install
266+
267+
257268# NOTE: also update Dockerfile when cuda version changes
258269# Install CUDA toolkit
259270# The current version can be found at: https://developer.nvidia.com/cuda-downloads