on master help sign in
Add Haskoin and its dependencies
22cf215Jean-Pierre Rupp
build-constraints.yaml+10
@@ -3580,6 +3580,16 @@ packages:
3580 "Wanja Chresta <wanja.hs@chrummibei.ch> @wchresta":
3580 "Wanja Chresta <wanja.hs@chrummibei.ch> @wchresta":
3581 - matrix-static
3581 - matrix-static
3582
3582
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+
3583 # If you stop maintaining a package you can move it here.
3593 # If you stop maintaining a package you can move it here.
3584 # It will then be disabled if it starts causing problems.
3594 # It will then be disabled if it starts causing problems.
3585 # See https://github.com/fpco/stackage/issues/1056
3595 # See https://github.com/fpco/stackage/issues/1056
debian-bootstrap.sh+11
@@ -103,6 +103,7 @@ apt-get install -y \
103 libpcap0.8-dev \
103 libpcap0.8-dev \
104 libpq-dev \
104 libpq-dev \
105 libre2-dev \
105 libre2-dev \
106+ librocksdb-dev \
106 libsdl1.2-dev \
107 libsdl1.2-dev \
107 libsdl2-dev \
108 libsdl2-dev \
108 libsdl2-gfx-dev \
109 libsdl2-gfx-dev \
@@ -254,6 +255,16 @@ curl https://download.libsodium.org/libsodium/releases/LATEST.tar.gz > libsodium
254 && ./configure \
255 && ./configure \
255 && make install
256 && make install
256
257
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+
257# NOTE: also update Dockerfile when cuda version changes
268# NOTE: also update Dockerfile when cuda version changes
258# Install CUDA toolkit
269# Install CUDA toolkit
259# The current version can be found at: https://developer.nvidia.com/cuda-downloads
270# The current version can be found at: https://developer.nvidia.com/cuda-downloads