Merge #275: electrs: 0.8.5 -> 0.8.6

a6346c2561 electrs: 0.8.5 -> 0.8.6 (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK a6346c2561

Tree-SHA512: 2440a30e5a158e78308e19af7aad8831a1b61a27581152867407ed92c2e6e353e27c9daef0ebf0f658f679f31739eb2428a94249f434cb653991c9d41aa1e15d
This commit is contained in:
Jonas Nick 2020-12-01 20:43:20 +00:00
commit 0b12a4b5a1
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -1,24 +1,19 @@
{ lib, rustPlatform, llvmPackages, fetchurl, pkgs }: { lib, rustPlatform, llvmPackages, fetchurl, pkgs }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "electrs"; pname = "electrs";
version = "0.8.5"; version = "0.8.6";
src = fetchurl { src = fetchurl {
url = "https://github.com/romanz/electrs/archive/v${version}.tar.gz"; url = "https://github.com/romanz/electrs/archive/v${version}.tar.gz";
# Use ./get-sha256.sh to fetch latest (verified) sha256 # Use ./get-sha256.sh to fetch latest (verified) sha256
sha256 = "651663f68ead632d806980c1915e4b963dcccfbb674c794a7c5d9b7cc4dfecbf"; sha256 = "cad47cb01efa7172cc5a1bde8c1a5daea95fab664eae9f38df4d4ac7defcf9de";
}; };
# Needed for librocksdb-sys # Needed for librocksdb-sys
nativeBuildInputs = [ llvmPackages.clang ]; nativeBuildInputs = [ llvmPackages.clang ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
cargoSha256 = if builtins.pathExists "${pkgs.path}/pkgs/build-support/rust/fetchcargo.nix" then cargoSha256 = "11xwjcfc3kqjyp94qzmyb26xwynf4f1q3ac3rp7l7qq1njly07gr";
# nixpkgs ≤ 20.03
"0clxam7i5yxiqsqxwzdq6z7j7c82rj5zyk186vhvzwh6hzfrv7zm"
else
# for recent nixpkgs with cargo-native vendoring (introduced in nixpkgs PR #69274)
"0kpv2y22wi42ymcwbqr1cw6npb0ca11hi3dhhhdj1al8kzdgi70w";
meta = with lib; { meta = with lib; {
description = "An efficient Electrum Server in Rust"; description = "An efficient Electrum Server in Rust";