mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
cc3a139440
This vendors libaes_siv so that we can use it to jet +sivc:aes:crypto.
34 lines
880 B
Nix
34 lines
880 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; };
|
|
|
|
ge-additions = import ./ge-additions {
|
|
inherit pkgs;
|
|
inherit (deps) ed25519;
|
|
};
|
|
|
|
libaes_siv = import ./libaes_siv {
|
|
inherit pkgs;
|
|
};
|
|
|
|
mkUrbit = { debug }:
|
|
import ./urbit {
|
|
inherit pkgs ent debug ge-additions libaes_siv;
|
|
inherit (deps) argon2 murmur3 uv ed25519 sni scrypt softfloat3;
|
|
inherit (deps) secp256k1 h2o ivory-header ca-header;
|
|
};
|
|
|
|
urbit = mkUrbit { debug = false; };
|
|
urbit-debug = mkUrbit { debug = true; };
|
|
|
|
in
|
|
|
|
{ inherit ent ge-additions libaes_siv arvo arvo-ropsten herb urbit urbit-debug; }
|