mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-20 05:11:46 +03:00
35 lines
928 B
Nix
35 lines
928 B
Nix
{ pkgs ? import ../nixpkgs.nix }:
|
|
|
|
let
|
|
|
|
deps = import ../deps { inherit pkgs; };
|
|
|
|
ent = import ./ent { inherit pkgs; };
|
|
arvo = import ./arvo { inherit pkgs; };
|
|
arvo-ropsten = import ./arvo-ropsten { inherit pkgs; };
|
|
herb = import ../../pkg/herb { inherit pkgs; };
|
|
|
|
libaes_siv = import ./libaes_siv {
|
|
inherit pkgs;
|
|
};
|
|
|
|
urcrypt = import ./urcrypt {
|
|
inherit libaes_siv;
|
|
inherit (pkgs) stdenv pkgconfig openssl gmp;
|
|
inherit (deps) ed25519 argon2 secp256k1;
|
|
};
|
|
|
|
mkUrbit = { debug }:
|
|
import ./urbit {
|
|
inherit pkgs ent debug urcrypt libaes_siv;
|
|
inherit (deps) argon2 murmur3 uv ed25519 scrypt softfloat3;
|
|
inherit (deps) secp256k1 h2o ivory-header ca-header;
|
|
};
|
|
|
|
urbit = mkUrbit { debug = false; };
|
|
urbit-debug = mkUrbit { debug = true; };
|
|
|
|
in
|
|
|
|
{ inherit ent urcrypt libaes_siv arvo arvo-ropsten herb urbit urbit-debug; }
|