nixpkgs/pkgs/applications/networking/ipfs-cluster/default.nix

27 lines
728 B
Nix
Raw Normal View History

2020-03-21 10:27:00 +00:00
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
2018-08-30 21:06:50 +00:00
2019-11-05 22:32:32 +00:00
buildGoModule rec {
pname = "ipfs-cluster";
2020-01-20 21:55:18 +00:00
version = "0.12.1";
2018-08-30 21:06:50 +00:00
rev = "v${version}";
2020-01-20 21:55:18 +00:00
modSha256 = "0bn47lcb9plzvl2vqqj7p33ishz6bbqpsgf2i6p34g13bwwpq647";
2018-08-30 21:06:50 +00:00
src = fetchFromGitHub {
owner = "ipfs";
repo = "ipfs-cluster";
inherit rev;
2020-01-20 21:55:18 +00:00
sha256 = "1jh6ynj50jd4w79widaqrgm3h3yz5h03vq0lbsx717a8d9073blh";
2018-08-30 21:06:50 +00:00
};
2020-03-21 10:27:00 +00:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
2018-08-30 21:06:50 +00:00
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 ];
};
}