kubo: 0.28.0 -> 0.29.0

https://github.com/ipfs/kubo/releases/tag/v0.29.0

The FUSE mount functionality is no longer completely broken, so reenable the NixOS test.

Luflosi 4f8d1589 8f5f49d8

Changed files
+6 -8
nixos
pkgs
by-name
ku
+1 -3
nixos/tests/kubo/default.nix
···
{ recurseIntoAttrs, runTest }:
recurseIntoAttrs {
kubo = runTest ./kubo.nix;
-
# The FUSE functionality is completely broken since Kubo v0.24.0
-
# See https://github.com/ipfs/kubo/issues/10242
-
# kubo-fuse = runTest ./kubo-fuse.nix;
+
kubo-fuse = runTest ./kubo-fuse.nix;
}
+1 -1
nixos/tests/kubo/kubo-fuse.nix
···
with subtest("FUSE mountpoint"):
machine.fail("echo a | su bob -l -c 'ipfs add --quieter'")
-
# The FUSE mount functionality is broken as of v0.13.0 and v0.17.0.
+
# The FUSE mount functionality is broken as of v0.13.0. This is still the case with v0.29.0.
# See https://github.com/ipfs/kubo/issues/9044.
# Workaround: using CID Version 1 avoids that.
ipfs_hash = machine.succeed(
+4 -4
pkgs/by-name/ku/kubo/package.nix
···
buildGoModule rec {
pname = "kubo";
-
version = "0.28.0"; # When updating, also check if the repo version changed and adjust repoVersion below
+
version = "0.29.0"; # When updating, also check if the repo version changed and adjust repoVersion below
rev = "v${version}";
passthru.repoVersion = "15"; # 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-nq9NpbK9Fql0o1TG8p9lIlnKUnxvMMimz8AYKVozkwY=";
+
hash = "sha256-udCVyA3NN3RCmVtdIjccfy/RymvrsGJoxlF8DiapP4g=";
};
# tarball contains multiple files/directories
···
postPatch = ''
substituteInPlace 'misc/systemd/ipfs.service' \
-
--replace '/usr/local/bin/ipfs' "$out/bin/ipfs"
+
--replace-fail '/usr/local/bin/ipfs' "$out/bin/ipfs"
substituteInPlace 'misc/systemd/ipfs-hardened.service' \
-
--replace '/usr/local/bin/ipfs' "$out/bin/ipfs"
+
--replace-fail '/usr/local/bin/ipfs' "$out/bin/ipfs"
'';
postInstall = ''