2019-03-29 02:58:01 -07:00
|
|
|
{ pkgs }:
|
2019-01-02 13:40:53 -08:00
|
|
|
|
2019-03-29 02:58:01 -07:00
|
|
|
with pkgs;
|
2019-04-24 06:39:46 -07:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-01-02 13:40:53 -08:00
|
|
|
name = "electrs-${version}";
|
2019-03-29 02:58:01 -07:00
|
|
|
version = "0.5.0";
|
2019-01-02 13:40:53 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "romanz";
|
|
|
|
repo = "electrs";
|
2019-03-29 02:58:01 -07:00
|
|
|
rev = "b2b7e1c42acc306df46e97f39d9ab19d2f6f24a8";
|
|
|
|
sha256 = "1nz75vc170r6q2hbkyil818y6szrjsas1drxj9vyqls7n5w6whz1";
|
2019-01-02 13:40:53 -08:00
|
|
|
};
|
|
|
|
|
2019-03-29 02:58:01 -07:00
|
|
|
cargoSha256 = "1rvhgda4mbwpya8snjqh1z7fjzbabkmh44r4g9ibn83wbd4j32mi";
|
2019-01-02 13:40:53 -08: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 02:58:01 -07:00
|
|
|
|