about summary refs log tree commit diff
path: root/pkgs/applications/networking/ipfs/default.nix
blob: 7b4d40a5a63387dee0c806494576d66a7d352188 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "ipfs-${version}";
  version = "0.4.20";
  rev = "v${version}";

  goPackagePath = "github.com/ipfs/go-ipfs";

  goDeps = ./deps.nix;

  src = fetchFromGitHub {
    owner = "ipfs";
    repo = "go-ipfs";
    inherit rev;
    sha256 = "1xnjn4pcgknywfndrp2zwln3v1msaffhhfiym5mdz543rsxav0yp";
  };

  meta = with stdenv.lib; {
    description = "A global, versioned, peer-to-peer filesystem";
    homepage = https://ipfs.io/;
    license = licenses.mit;
    platforms = platforms.unix;
    maintainers = with maintainers; [ fpletz ];
  };
}