2019-02-19 23:22:52 +00:00
|
|
|
{ stdenv, callPackage, sqlite, clang, rocksdb }:
|
2018-06-24 14:34:32 +00:00
|
|
|
|
|
|
|
let
|
2019-02-19 23:22:52 +00:00
|
|
|
nim = callPackage ./nim.nix {};
|
2018-06-24 15:39:03 +00:00
|
|
|
makeLibraryPath = stdenv.lib.makeLibraryPath;
|
2018-06-24 14:34:32 +00:00
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nimbus-${version}";
|
|
|
|
version = "0.0.1";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An Ethereum 2.0 Sharding Client for Resource-Restricted Devices";
|
|
|
|
homepage = https://github.com/status-im/nimbus;
|
|
|
|
license = [licenses.asl20];
|
2019-02-19 23:22:52 +00:00
|
|
|
platforms = platforms.unix ++ platforms.windows;
|
2018-06-24 14:34:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
src = ./.;
|
2019-02-19 23:22:52 +00:00
|
|
|
buildInputs = [clang nim rocksdb sqlite];
|
2018-06-24 15:39:03 +00:00
|
|
|
LD_LIBRARY_PATH = "${makeLibraryPath buildInputs}";
|
2018-06-24 14:34:32 +00:00
|
|
|
}
|
|
|
|
|