diff --git a/flake.lock b/flake.lock index c4ae837..a277674 100644 --- a/flake.lock +++ b/flake.lock @@ -245,6 +245,23 @@ "type": "github" } }, + "dymension-src": { + "flake": false, + "locked": { + "lastModified": 1706696951, + "narHash": "sha256-K1F0kL4/HVxOJvXNvLJsZUFXS3MyuqrUotyyd5u6QTQ=", + "owner": "dymensionxyz", + "repo": "dymension", + "rev": "c3294dc8d2dce1aa8efbc967b1dfd3b0e965b095", + "type": "github" + }, + "original": { + "owner": "dymensionxyz", + "ref": "v3.0.0", + "repo": "dymension", + "type": "github" + } + }, "evmos-src": { "flake": false, "locked": { @@ -1330,6 +1347,7 @@ "crescent-src": "crescent-src", "cw-plus-src": "cw-plus-src", "dydx-src": "dydx-src", + "dymension-src": "dymension-src", "evmos-src": "evmos-src", "flake-parts": "flake-parts", "gaia-main-src": "gaia-main-src", diff --git a/flake.nix b/flake.nix index b2dabed..69d0c06 100644 --- a/flake.nix +++ b/flake.nix @@ -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; diff --git a/modules/apps.nix b/modules/apps.nix index 7df9a81..e52b9e2 100644 --- a/modules/apps.nix +++ b/modules/apps.nix @@ -204,6 +204,10 @@ type = "app"; program = "${packages.provenance}/bin/provenanced"; }; + dymension = { + type = "app"; + program = "${packages.dymension}/bin/dymd"; + }; } ([] ## Linux only apps diff --git a/modules/packages.nix b/modules/packages.nix index 5801851..162cc7a 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -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; diff --git a/packages/dymension.nix b/packages/dymension.nix new file mode 100644 index 0000000..a930552 --- /dev/null +++ b/packages/dymension.nix @@ -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"; +}