electrs: 0.8.12 -> 0.9.0

This commit is contained in:
Pavol Rusnak 2021-09-20 22:31:09 +02:00
parent 6cc26a9a34
commit c2b15153a8
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
2 changed files with 10 additions and 4 deletions

View file

@ -1,22 +1,24 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, llvmPackages
, rocksdb
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "electrs";
version = "0.8.12";
version = "0.9.0";
src = fetchFromGitHub {
owner = "romanz";
repo = pname;
rev = "v${version}";
sha256 = "0kd5zki9f1pnwscnvd921dw0lc45nfkwk23l33nzdjn005lmsw7v";
sha256 = "04dqbn2nfzllxfcn3v9vkfy2hn2syihijr575621r1pj65pcgf8y";
};
cargoSha256 = "1l8dwjwj21crxampzj5c0k98xnisgy3d9c3dkgf5vaybrcp04k85";
cargoSha256 = "0hl8q62lankrab8gq9vxmkn68drs0hw5pk0q6aiq8fxsb63dzsw0";
# needed for librocksdb-sys
nativeBuildInputs = [ llvmPackages.clang ];
@ -27,6 +29,8 @@ rustPlatform.buildRustPackage rec {
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
cargoBuildFlags = "--no-default-features";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "An efficient re-implementation of Electrum Server in Rust";
homepage = "https://github.com/romanz/electrs";

View file

@ -28850,7 +28850,9 @@ with pkgs;
eclair = callPackage ../applications/blockchains/eclair { };
electrs = callPackage ../applications/blockchains/electrs { };
electrs = callPackage ../applications/blockchains/electrs {
inherit (darwin.apple_sdk.frameworks) Security;
};
elements = libsForQt5.callPackage ../applications/blockchains/elements {
miniupnpc = miniupnpc_2;