ipfs: 0.4.21 -> 0.4.22, use Go 1.12

This commit is contained in:
Roman Volosatovs 2019-09-05 20:00:19 +02:00
parent 362c2f67f9
commit 0bf5907aa9
No known key found for this signature in database
GPG Key ID: 2660C5FDCEBE6F87
2 changed files with 9 additions and 6 deletions

View File

@ -2,19 +2,17 @@
buildGoModule rec { buildGoModule rec {
pname = "ipfs"; pname = "ipfs";
version = "0.4.21"; version = "0.4.22";
rev = "v${version}"; rev = "v${version}";
goPackagePath = "github.com/ipfs/go-ipfs";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ipfs"; owner = "ipfs";
repo = "go-ipfs"; repo = "go-ipfs";
inherit rev; inherit rev;
sha256 = "0jlj89vjy4nw3x3j45r16y8bph5ss5lp907pjgqvad0naxbf99b0"; sha256 = "1drwkam2m1qdny51l7ja9vd33jffy8w0z0wbp28ajx4glp0kyra2";
}; };
modSha256 = "0d9rq0hig9jwv9jfajfyj2111arikqzdnyhf5aqkwahcblpx54iy"; modSha256 = "0jbzkifn88myk2vpd390clyl835978vpcfz912y8cnl26s6q677n";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A global, versioned, peer-to-peer filesystem"; description = "A global, versioned, peer-to-peer filesystem";

View File

@ -4001,7 +4001,12 @@ in
iperf3 = callPackage ../tools/networking/iperf/3.nix { }; iperf3 = callPackage ../tools/networking/iperf/3.nix { };
iperf = iperf3; iperf = iperf3;
ipfs = callPackage ../applications/networking/ipfs { }; ipfs = callPackage ../applications/networking/ipfs {
# Version 0.4.22 fails to build with go 1.13 due to version validation:
# go: github.com/go-critic/go-critic@v0.0.0-20181204210945-ee9bf5809ead: invalid pseudo-version: does not match version-control timestamp (2019-02-10T22:04:43Z)
# This is fixed in master, but release containing the fix does not exist yet.
buildGoModule = buildGo112Module;
};
ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { }; ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { };
ipfs-cluster = callPackage ../applications/networking/ipfs-cluster { }; ipfs-cluster = callPackage ../applications/networking/ipfs-cluster { };