laconicd-deprecated/tests/integration_tests/configs/upgrade-test-package.nix

17 lines
603 B
Nix
Raw Normal View History

2022-10-10 10:38:33 +00:00
let
pkgs = import ../../../nix { };
2023-03-13 07:04:10 +00:00
fetchEthermint = rev: builtins.fetchTarball "https://github.com/cerc-io/laconicd/archive/${rev}.tar.gz";
2022-10-10 10:38:33 +00:00
released = pkgs.buildGo118Module rec {
2022-10-13 05:53:17 +00:00
name = "laconicd";
src = fetchEthermint "d29cdad6e667f6089dfecbedd36bb8d3a2a7d025";
2022-10-13 05:53:17 +00:00
subPackages = [ "cmd/laconicd" ];
vendorSha256 = "sha256-cQAol54b6hNzsA4Q3MP9mTqFWM1MvR5uMPrYpaoj3SY=";
2022-10-10 10:38:33 +00:00
doCheck = false;
};
current = pkgs.callPackage ../../../. { };
in
pkgs.linkFarm "upgrade-test-package" [
{ name = "genesis"; path = released; }
{ name = "integration-test-upgrade"; path = current; }
]