3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/ipfs-cluster/default.nix
Colin L Rice eabc2286e3 ipfs-cluster: 0.13.0 -> unstable-2020-10
ipfs-cluster hasn't had a release since may 2020, however go-ipfs needs
to be updated for support with go1.15 and go1.16 (1.14 goes out of
support in february).

I've requested they tag a new revision, but until then we'll have to use
an unstable version.

I've re enabled the tests since they pass and are critical to catch
errors within ipfs-cluster (and in general make maintenance easier). One
test failed, so I manually disabled it via a patch and .Skip()
2021-01-09 14:48:12 -05:00

28 lines
721 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ipfs-cluster";
version = "unstable-2020-10-20";
vendorSha256 = "0abfhl4v4yqy89aqn13ymj4rw5zhr92a9fh1abgpkr19adnyrs3d";
patches = [
./test.patch
];
src = fetchFromGitHub {
owner = "ipfs";
repo = "ipfs-cluster";
rev = "c78f7839a2d5645806e01bfbf7af862600f8fbc4";
sha256 = "0fschpysma2piy2bfas56yapxm2cl6nj986ww3sp7ysldjzadmkk";
};
meta = with stdenv.lib; {
description = "Allocate, replicate, and track Pins across a cluster of IPFS daemons";
homepage = "https://cluster.ipfs.io/";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ jglukasik ];
};
}