Merge pull request #3962 from xenog/master
Add Haskoin packages and its dependencies
commit285e85f96c253cd8b2347d9e96ed0ac9cf40311a
authorJens Petersen <juhpetersen@gmail.com>
dateMon 10 Sep 2018, 11:48 (8 years ago)
parentda90e2822cf215
build-constraints.yaml+10
@@ -3582,6 +3582,16 @@ packages:
35823582 "Wanja Chresta <wanja.hs@chrummibei.ch> @wchresta":
35833583 - matrix-static
35843584
3585+ "Jean-Pierre Rupp <xenog@protonmail.com> @xenog":
3586+ - murmur3
3587+ - nqe
3588+ - secp256k1
3589+ - rocksdb-haskell
3590+ - rocksdb-query
3591+ - haskoin-core
3592+ - haskoin-node
3593+ - haskoin-store
3594+
35853595 # If you stop maintaining a package you can move it here.
35863596 # It will then be disabled if it starts causing problems.
35873597 # 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