forked from informalsystems/hermes
-
Notifications
You must be signed in to change notification settings - Fork 42
/
flake.nix
50 lines (46 loc) · 1.07 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
description = "Nix development dependencies for ibc-rs";
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixpkgs-unstable;
flake-utils.url = github:numtide/flake-utils;
cosmos-nix.url = github:informalsystems/cosmos.nix;
};
outputs = inputs:
let
utils = inputs.flake-utils.lib;
in
utils.eachSystem
[
"aarch64-linux"
"aarch64-darwin"
"x86_64-darwin"
"x86_64-linux"
]
(system:
let
nixpkgs = import inputs.nixpkgs {
inherit system;
};
cosmos-nix = inputs.cosmos-nix.packages.${system};
in
{
packages = {
inherit (cosmos-nix)
gaia5
gaia6
gaia7
ica
osmosis
wasmd
gaia6-ordered
ibc-go-v2-simapp
ibc-go-v3-simapp
ibc-go-v4-simapp
apalache
;
python = nixpkgs.python3.withPackages (p: [
p.toml
]);
};
});
}