ipfs: Add 0.9.0 in addition

IPFS evolves quite fast. The network protocol is compatible, but we
don't want to force migrations on stable, so we add a new version
instead.

See #100676 for last time we did this.

(Adapted from from commit d96ccfaf16c5454aaa920ff39b38c81bcf104a3a)
This commit is contained in:
John Ericson 2021-07-02 14:41:23 +00:00
parent aa24875207
commit 0b2fbb2fef
2 changed files with 7 additions and 3 deletions

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "ipfs";
version = "0.8.0";
version = "0.9.0";
rev = "v${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-uK3+Ekr5AM6mmGmjFSj1Rotm5pbH657BYUlP9B39WEw=";
sha256 = "sha256:1fyffnw1d860w7gwm6ijbgrh68297z5bmvww8yqfshm3xgvcs6bf";
};
# tarball contains multiple files/directories

View File

@ -5802,7 +5802,11 @@ in
iperf3 = callPackage ../tools/networking/iperf/3.nix { };
iperf = iperf3;
ipfs = callPackage ../applications/networking/ipfs/0.8.nix { };
ipfs = ipfs_0_8;
ipfs_latest = ipfs_0_9;
ipfs_0_8 = callPackage ../applications/networking/ipfs/0.8.nix { };
ipfs_0_9 = callPackage ../applications/networking/ipfs/0.9.nix { };
ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { };
ipfs-cluster = callPackage ../applications/networking/ipfs-cluster { };