mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
84e7ad1eb7
0.4.5 introduces a new repo format. You might need to run a migration: https://github.com/ipfs/fs-repo-migrations
32 lines
769 B
Nix
32 lines
769 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
|
|
|
|
buildGoPackage rec {
|
|
name = "ipfs-${version}";
|
|
version = "0.4.5";
|
|
rev = "2cb68b2210ba883bcd38a429ed62b7f832f8c064";
|
|
|
|
goPackagePath = "github.com/ipfs/go-ipfs";
|
|
|
|
extraSrcPaths = [
|
|
(fetchgx {
|
|
inherit name src;
|
|
sha256 = "0lq4najagdcga0zfprccprjy94nq46ja2gajij2pycag0wcc538d";
|
|
})
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ipfs";
|
|
repo = "go-ipfs";
|
|
inherit rev;
|
|
sha256 = "087478rdj9cfl8hfrhrbb8rdlh7b1ixdj127vvkgn2k3mlz6af47";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|