Skip to content

Commit

Permalink
Add Dymension v3.0.0 (#223)
Browse files Browse the repository at this point in the history
* Add Dymension v3.0.0

* Formatting

* Update packages/dymension.nix

Co-authored-by: Jonathan Lorimer <[email protected]>

* Add to apps.nix

* Formatting

---------

Co-authored-by: Jonathan Lorimer <[email protected]>
  • Loading branch information
romac and JonathanLorimer authored Mar 13, 2024
1 parent ee2573d commit 6c28d37
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
18 changes: 18 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@
dydx-src.url = "github:dydxprotocol/v4-chain/protocol/v3.0.0-dev0";
dydx-src.flake = false;

dymension-src.url = "github:dymensionxyz/dymension/v3.0.0";
dymension-src.flake = false;

slinky-src.url = "github:skip-mev/slinky/v0.2.0";
slinky-src.flake = false;

Expand Down
4 changes: 4 additions & 0 deletions modules/apps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@
type = "app";
program = "${packages.provenance}/bin/provenanced";
};
dymension = {
type = "app";
program = "${packages.dymension}/bin/dymd";
};
}
([]
## Linux only apps
Expand Down
4 changes: 4 additions & 0 deletions modules/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
inherit (cosmosLib) mkCosmosGoApp;
inherit (inputs) dydx-src;
};
dymension = import ../packages/dymension.nix {
inherit (cosmosLib) mkCosmosGoApp;
inherit (inputs) dymension-src;
};
gex = import ../packages/gex.nix {
inherit (pkgs) buildGoModule;
inherit (inputs) gex-src;
Expand Down
14 changes: 14 additions & 0 deletions packages/dymension.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
mkCosmosGoApp,
dymension-src,
}:
mkCosmosGoApp {
name = "dymension";
version = "v3.0.0";
src = "${dymension-src}";
rev = dymension-src.rev;
vendorHash = "sha256-2mDEDtFN0T6430owWxPl+zLl/BaJaNDMA//RUBtncbs=";
tags = ["netgo"];
goVersion = "1.21";
engine = "cometbft/cometbft";
}

0 comments on commit 6c28d37

Please sign in to comment.