Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
cardano-cli = packages."cardano-cli-8.1.1";
cardano-node = packages."cardano-node-8.1.1";
cardano-configurations = packages."cardano-configurations-8.1.1";
ogmios = packages."ogmios-6.0.3";
kupo = packages."kupo-2.6.1";
ogmios = packages."ogmios-6.5.0";
kupo = packages."kupo-2.9.0";
};
};
}
14 changes: 10 additions & 4 deletions packages/kupo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,24 @@
lib,
...
}: let
truncateVersion = version: builtins.head (builtins.match "([0-9]+\\.[0-9]+).*" version);
mkUrl = version: variant: "https://github.com/CardanoSolutions/kupo/releases/download/v${truncateVersion version}/kupo-${version}-${variant}.tar.gz";
truncateVersion = version: builtins.head (builtins.match "v?([0-9]+\\.[0-9]+).*" version);
mkUrl = version: variant: archive: "https://github.com/CardanoSolutions/kupo/releases/download/v${truncateVersion version}/kupo-${version}-${variant}.${archive}";
releases = {
"2.9.0" = {
"x86_64-linux" = {
url = mkUrl "v2.9.0" "x86_64-linux" "zip";
hash = "sha256-sEfaFPph1qBuPrxQzFeTKU/9i9w0KF/v7GpxxmorPWQ=";
};
};
"2.8.0" = {
"x86_64-linux" = {
url = mkUrl "2.8.0" "amd64-Linux";
url = mkUrl "2.8.0" "amd64-Linux" "tar.gz";
hash = "sha256-k6js0R0psyeHnM6q0e4slu4ESXm1FMiVRO2JUlsnlHY=";
};
};
"2.6.1" = {
"x86_64-linux" = {
url = mkUrl "2.6.1" "amd64-Linux";
url = mkUrl "2.6.1" "amd64-Linux" "tar.gz";
hash = "sha256-pK+1ncKirqoTcC42pR5x0Oc9xXCAm2ajt9oRWZjNeyQ=";
};
};
Expand Down
6 changes: 6 additions & 0 deletions packages/ogmios.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
}: let
mkUrl = version: system: "https://github.com/CardanoSolutions/ogmios/releases/download/v${version}/ogmios-v${version}-${system}.zip";
releases = {
"6.5.0" = {
"x86_64-linux" = {
url = mkUrl "6.5.0" "x86_64-linux";
hash = "sha256-C7vwUefYXCXhnfIUt/Kmj3/f4cd3IogAZxaBtDftUOU=";
};
};
"6.4.0" = {
"x86_64-linux" = {
url = mkUrl "6.4.0" "x86_64-linux";
Expand Down