From 5742cb2a483f90917eca2fc38a47cd7745a1495b Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 24 Sep 2024 17:33:50 +0200 Subject: [PATCH 1/2] kubo: 0.29.0 -> 0.30.0 https://github.com/ipfs/kubo/releases/tag/v0.30.0 --- nixos/modules/services/network-filesystems/kubo.nix | 2 ++ pkgs/by-name/ku/kubo/package.nix | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/network-filesystems/kubo.nix b/nixos/modules/services/network-filesystems/kubo.nix index 3b0555b3a874..0c2e14c3a2b3 100644 --- a/nixos/modules/services/network-filesystems/kubo.nix +++ b/nixos/modules/services/network-filesystems/kubo.nix @@ -192,8 +192,10 @@ in "/ip6/::/tcp/4001" "/ip4/0.0.0.0/udp/4001/quic-v1" "/ip4/0.0.0.0/udp/4001/quic-v1/webtransport" + "/ip4/0.0.0.0/udp/4001/webrtc-direct" "/ip6/::/udp/4001/quic-v1" "/ip6/::/udp/4001/quic-v1/webtransport" + "/ip6/::/udp/4001/webrtc-direct" ]; description = "Where Kubo listens for incoming p2p connections"; }; diff --git a/pkgs/by-name/ku/kubo/package.nix b/pkgs/by-name/ku/kubo/package.nix index 9cec847406b9..d2d7008ac617 100644 --- a/pkgs/by-name/ku/kubo/package.nix +++ b/pkgs/by-name/ku/kubo/package.nix @@ -7,15 +7,15 @@ buildGoModule rec { pname = "kubo"; - version = "0.29.0"; # When updating, also check if the repo version changed and adjust repoVersion below + version = "0.30.0"; # When updating, also check if the repo version changed and adjust repoVersion below rev = "v${version}"; - passthru.repoVersion = "15"; # Also update kubo-migrator-unwrapped and kubo-fs-repo-migrations when changing the repo version + passthru.repoVersion = "16"; # Also update kubo-migrator when changing the repo version # Kubo makes changes to its source tarball that don't match the git source. src = fetchurl { url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz"; - hash = "sha256-udCVyA3NN3RCmVtdIjccfy/RymvrsGJoxlF8DiapP4g="; + hash = "sha256-+GO23A9DHIHuKzGNkPLBNvvPzFL3FfQYRYu9TfPii08="; }; # tarball contains multiple files/directories From fba84616e53e619f1f5c95dfb4e01d4043f7b59e Mon Sep 17 00:00:00 2001 From: Luflosi Date: Thu, 21 Nov 2024 19:11:31 +0100 Subject: [PATCH 2/2] kubo: 0.30.0 -> 0.32.1 https://github.com/ipfs/kubo/releases/tag/v0.31.0 https://github.com/ipfs/kubo/releases/tag/v0.32.0 https://github.com/ipfs/kubo/releases/tag/v0.32.1 --- pkgs/by-name/ku/kubo/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ku/kubo/package.nix b/pkgs/by-name/ku/kubo/package.nix index d2d7008ac617..09d519bc80a2 100644 --- a/pkgs/by-name/ku/kubo/package.nix +++ b/pkgs/by-name/ku/kubo/package.nix @@ -7,7 +7,7 @@ buildGoModule rec { pname = "kubo"; - version = "0.30.0"; # When updating, also check if the repo version changed and adjust repoVersion below + version = "0.32.1"; # When updating, also check if the repo version changed and adjust repoVersion below rev = "v${version}"; passthru.repoVersion = "16"; # Also update kubo-migrator when changing the repo version @@ -15,7 +15,7 @@ buildGoModule rec { # Kubo makes changes to its source tarball that don't match the git source. src = fetchurl { url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz"; - hash = "sha256-+GO23A9DHIHuKzGNkPLBNvvPzFL3FfQYRYu9TfPii08="; + hash = "sha256-/72omsDZ2+nuPHkZXtR3MSsxWicxC0YnFmKcHF22C+0="; }; # tarball contains multiple files/directories