3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/ipfs-cluster/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
969 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
2018-08-30 22:06:50 +01:00
2019-11-05 22:32:32 +00:00
buildGoModule rec {
pname = "ipfs-cluster";
version = "0.14.5";
2018-08-30 22:06:50 +01:00
vendorSha256 = "sha256-ykUjq7Svp3+kUNnFkwsBlC+C4nws6Yvu3bk2Wb4c8vY=";
2018-08-30 22:06:50 +01:00
src = fetchFromGitHub {
owner = "ipfs";
repo = "ipfs-cluster";
rev = "v${version}";
sha256 = "sha256-Xb7QbBmCJKgokxvdbtWxtnNIS/iUsYFLlRzgfoABAq8=";
2018-08-30 22:06:50 +01:00
};
# Remove patch when updating to >0.14.5
patches = [
(fetchpatch {
name = "remove-distribution-test.patch";
url = "https://github.com/ipfs/ipfs-cluster/pull/1589/commits/49825d1df76f848806f1d76abce5e279221cc8c5.patch";
sha256 = "sha256-mM2rc4ai/qhbvxnoRw5jO7BTRlD2/Tp037EuqqS49DE=";
})
];
meta = with lib; {
2018-08-30 22:06:50 +01:00
description = "Allocate, replicate, and track Pins across a cluster of IPFS daemons";
homepage = "https://cluster.ipfs.io/";
2018-08-30 22:06:50 +01:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ Luflosi jglukasik ];
2018-08-30 22:06:50 +01:00
};
}