{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }: buildGoPackage rec { name = "ipfs-${version}"; version = "0.4.9"; rev = "7ea34c6c6ed18e886f869a1fbe725a848d13695c"; goPackagePath = "github.com/ipfs/go-ipfs"; extraSrcPaths = [ (fetchgx { inherit name src; sha256 = "1xgk9gdnlcxkrpj98h2mrnlpr9b8084k4q926i4pbmxipwxkwl4b"; }) ]; src = fetchFromGitHub { owner = "ipfs"; repo = "go-ipfs"; inherit rev; sha256 = "1n2m2yah54cx4i9nlcsmljrwqi3wqxih517y8jpyjij6wraa334j"; }; 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 ]; }; }