packages/ipfs: 0.13.0 -> 0.15.0

This commit is contained in:
Max Headroom 2022-09-23 21:52:15 +02:00
parent c084f7ca7b
commit 20347c7a5f
2 changed files with 5 additions and 5 deletions

View file

@ -2,15 +2,15 @@
buildGoModule rec { buildGoModule rec {
pname = "ipfs"; 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}"; rev = "v${version}";
repoVersion = "12"; # Also update ipfs-migrator when changing the repo 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. # go-ipfs makes changes to it's source tarball that don't match the git source.
src = fetchurl { src = fetchurl {
url = "https://github.com/ipfs/go-ipfs/releases/download/${rev}/go-ipfs-source.tar.gz"; url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz";
sha256 = "sha256-eEIHsmtD3vF48RVFHEz28gkVv7u50pMBE8Z+oaM6pLM="; sha256 = "sha256-GkOY1G2CKXbMbHXkw5v27HmfkJIl2nZOmjjZbzuaRWs=";
}; };
# tarball contains multiple files/directories # tarball contains multiple files/directories
@ -39,7 +39,7 @@ buildGoModule rec {
./ipfs-allow-publish-with-ipns-mounted.patch ./ipfs-allow-publish-with-ipns-mounted.patch
./ipfs-fuse-nuke-getxattr.patch ./ipfs-fuse-nuke-getxattr.patch
./ipfs-unsafe-allow-all-paths-for-filestore.patch ./ipfs-unsafe-allow-all-paths-for-filestore.patch
./lain-webui-0.13.0.patch ./lain-webui-0.14.0.patch
]; ];
postPatch = '' postPatch = ''

View file

@ -4,7 +4,7 @@
package corehttp package corehttp
// TODO: move to IPNS // 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" +const WebUIPath = "/ipns/webui.ipfs.privatevoid.net"
// this is a list of all past webUI paths. // this is a list of all past webUI paths.