From 20347c7a5fdde6dcbd634a1fedbcf3a0cbbcd34d Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 23 Sep 2022 21:52:15 +0200 Subject: [PATCH] packages/ipfs: 0.13.0 -> 0.15.0 --- packages/networking/ipfs/default.nix | 8 ++++---- .../{lain-webui-0.13.0.patch => lain-webui-0.14.0.patch} | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename packages/networking/ipfs/{lain-webui-0.13.0.patch => lain-webui-0.14.0.patch} (76%) diff --git a/packages/networking/ipfs/default.nix b/packages/networking/ipfs/default.nix index 87de9e7..66b3929 100644 --- a/packages/networking/ipfs/default.nix +++ b/packages/networking/ipfs/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "ipfs"; - version = "0.13.0"; # When updating, also check if the repo version changed and adjust repoVersion below + version = "0.15.0"; # When updating, also check if the repo version changed and adjust repoVersion below rev = "v${version}"; repoVersion = "12"; # Also update ipfs-migrator when changing the repo version # go-ipfs makes changes to it's source tarball that don't match the git source. src = fetchurl { - url = "https://github.com/ipfs/go-ipfs/releases/download/${rev}/go-ipfs-source.tar.gz"; - sha256 = "sha256-eEIHsmtD3vF48RVFHEz28gkVv7u50pMBE8Z+oaM6pLM="; + url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz"; + sha256 = "sha256-GkOY1G2CKXbMbHXkw5v27HmfkJIl2nZOmjjZbzuaRWs="; }; # tarball contains multiple files/directories @@ -39,7 +39,7 @@ buildGoModule rec { ./ipfs-allow-publish-with-ipns-mounted.patch ./ipfs-fuse-nuke-getxattr.patch ./ipfs-unsafe-allow-all-paths-for-filestore.patch - ./lain-webui-0.13.0.patch + ./lain-webui-0.14.0.patch ]; postPatch = '' diff --git a/packages/networking/ipfs/lain-webui-0.13.0.patch b/packages/networking/ipfs/lain-webui-0.14.0.patch similarity index 76% rename from packages/networking/ipfs/lain-webui-0.13.0.patch rename to packages/networking/ipfs/lain-webui-0.14.0.patch index 59ad263..6109961 100644 --- a/packages/networking/ipfs/lain-webui-0.13.0.patch +++ b/packages/networking/ipfs/lain-webui-0.14.0.patch @@ -4,7 +4,7 @@ package corehttp // TODO: move to IPNS --const WebUIPath = "/ipfs/bafybeiednzu62vskme5wpoj4bjjikeg3xovfpp4t7vxk5ty2jxdi4mv4bu" // v2.15.0 +-const WebUIPath = "/ipfs/bafybeibozpulxtpv5nhfa2ue3dcjx23ndh3gwr5vwllk7ptoyfwnfjjr4q" // v2.15.1 +const WebUIPath = "/ipns/webui.ipfs.privatevoid.net" // this is a list of all past webUI paths.