Add Nix files for obtaining all C/C++ dependencies
This commit is contained in:
parent
99921f38cb
commit
fd23b8ac0f
|
@ -0,0 +1,22 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
let
|
||||
stdenv = pkgs.stdenv;
|
||||
|
||||
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 pkgs.nim pkgs.rocksdb pkgs.secp256k1 pkgs.cryptopp];
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
let
|
||||
pkgs = import (builtins.fetchGit {
|
||||
url = git://github.com/NixOS/nixpkgs;
|
||||
rev = "8c6f9223d02c5123cbd364d6d56caca3c81416f0";
|
||||
}) {};
|
||||
|
||||
in
|
||||
|
||||
import ./default.nix { inherit pkgs; }
|
||||
|
Loading…
Reference in New Issue