Merge #333: electrs: v0.8.7 -> v0.8.8

eaa58505a7 electrs: v0.8.7 -> v0.8.8 (nixbitcoin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK eaa58505a7

Tree-SHA512: 2de1bc08b4dd4ede38d8b98d58c85eb220003e491a7a16529b5a443576022b7ac067698ef8fa9336ee1af09e3e8db349291403e89ef40167b1ad46b2b0aefd01
This commit is contained in:
Jonas Nick 2021-02-24 09:01:00 +00:00
commit f66b2d569b
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
2 changed files with 4 additions and 4 deletions

View File

@ -72,7 +72,7 @@ in {
requires = [ "bitcoind.service" ];
after = [ "bitcoind.service" ];
preStart = ''
echo "cookie = \"${bitcoind.rpc.users.public.name}:$(cat ${secretsDir}/bitcoin-rpcpassword-public)\"" \
echo "auth = \"${bitcoind.rpc.users.public.name}:$(cat ${secretsDir}/bitcoin-rpcpassword-public)\"" \
> electrs.toml
'';
serviceConfig = nbLib.defaultHardening // {

View File

@ -1,19 +1,19 @@
{ lib, rustPlatform, llvmPackages, fetchurl, pkgs }:
rustPlatform.buildRustPackage rec {
pname = "electrs";
version = "0.8.7";
version = "0.8.8";
src = fetchurl {
url = "https://github.com/romanz/electrs/archive/v${version}.tar.gz";
# Use ./get-sha256.sh to fetch latest (verified) sha256
sha256 = "f967f322ebf86dd32d291716fa8e8b155da4b35d003b116b4e7007054d6b515e";
sha256 = "e6ec3f49c8cb4da27ee6e1ba7323bb6e3af1ebf881719c5710c71d151435660f";
};
# Needed for librocksdb-sys
nativeBuildInputs = [ llvmPackages.clang ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
cargoSha256 = "12ypx0rkpbjl4awzx8ga30qhiqqd56a24q4jwlxxnfpw9ks1z252";
cargoSha256 = "0mj2p8810l5jspbsdg3cjz6qk76sczsh9fpifxxsbkznk63qv88j";
meta = with lib; {
description = "An efficient Electrum Server in Rust";