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

25 lines
602 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2016-06-06 00:46:06 +00:00
buildGoModule rec {
pname = "ipfs";
2019-09-05 18:00:19 +00:00
version = "0.4.22";
2017-10-02 18:35:45 +00:00
rev = "v${version}";
2016-06-06 00:46:06 +00:00
src = fetchFromGitHub {
owner = "ipfs";
repo = "go-ipfs";
inherit rev;
2019-09-05 18:00:19 +00:00
sha256 = "1drwkam2m1qdny51l7ja9vd33jffy8w0z0wbp28ajx4glp0kyra2";
2016-06-06 00:46:06 +00:00
};
2019-09-05 18:00:19 +00:00
modSha256 = "0jbzkifn88myk2vpd390clyl835978vpcfz912y8cnl26s6q677n";
2016-06-06 00:46:06 +00:00
meta = with stdenv.lib; {
description = "A global, versioned, peer-to-peer filesystem";
2016-10-29 03:19:41 +00:00
homepage = https://ipfs.io/;
2016-06-06 00:46:06 +00:00
license = licenses.mit;
2016-10-29 03:19:41 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ fpletz ];
2016-06-06 00:46:06 +00:00
};
}