urbit/nix/pkgs/default.nix

35 lines
928 B
Nix
Raw Normal View History

2019-03-05 03:43:53 +03:00
{ 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;
};
2020-08-25 00:33:57 +03:00
urcrypt = import ./urcrypt {
inherit libaes_siv;
2020-10-04 03:01:56 +03:00
inherit (pkgs) stdenv pkgconfig openssl gmp;
2020-08-29 21:55:58 +03:00
inherit (deps) ed25519 argon2 secp256k1;
2020-08-25 00:33:57 +03:00
};
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;
};
2019-03-05 03:43:53 +03:00
urbit = mkUrbit { debug = false; };
urbit-debug = mkUrbit { debug = true; };
in
2019-03-05 03:43:53 +03:00
{ inherit ent urcrypt libaes_siv arvo arvo-ropsten herb urbit urbit-debug; }