2019-03-29 09:58:01 +00:00
|
|
|
{ pkgs }:
|
2019-01-02 21:40:53 +00:00
|
|
|
|
2019-03-29 09:58:01 +00:00
|
|
|
with pkgs;
|
|
|
|
rustPlatform_1_31.buildRustPackage rec {
|
2019-01-02 21:40:53 +00:00
|
|
|
name = "electrs-${version}";
|
2019-03-29 09:58:01 +00:00
|
|
|
version = "0.5.0";
|
2019-01-02 21:40:53 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "romanz";
|
|
|
|
repo = "electrs";
|
2019-03-29 09:58:01 +00:00
|
|
|
rev = "b2b7e1c42acc306df46e97f39d9ab19d2f6f24a8";
|
|
|
|
sha256 = "1nz75vc170r6q2hbkyil818y6szrjsas1drxj9vyqls7n5w6whz1";
|
2019-01-02 21:40:53 +00:00
|
|
|
};
|
|
|
|
|
2019-03-29 09:58:01 +00:00
|
|
|
cargoSha256 = "1rvhgda4mbwpya8snjqh1z7fjzbabkmh44r4g9ibn83wbd4j32mi";
|
2019-01-02 21:40:53 +00:00
|
|
|
|
|
|
|
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
|
|
|
buildInputs = [ clang ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An efficient re-implementation of Electrum Server in Rust";
|
|
|
|
homepage = https://github.com/romanz/electrs;
|
|
|
|
maintainers = with maintainers; [ tailhook ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|
2019-03-29 09:58:01 +00:00
|
|
|
|