26 lines
590 B
Nix
26 lines
590 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
let
|
|
stdenv = pkgs.stdenv;
|
|
nim = pkgs.callPackage ./nim.nix {};
|
|
makeLibraryPath = stdenv.lib.makeLibraryPath;
|
|
|
|
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];
|
|
platforms = platforms.unix;
|
|
};
|
|
|
|
src = ./.;
|
|
buildInputs = [pkgs.clang nim pkgs.rocksdb_lite];
|
|
LD_LIBRARY_PATH = "${makeLibraryPath buildInputs}";
|
|
}
|
|
|