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