2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2017-10-23 03:46:40 +02:00
|
|
|
|
2020-05-11 21:02:09 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ipget";
|
2021-07-29 21:01:18 +02:00
|
|
|
version = "0.7.0";
|
2017-10-23 03:46:40 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "ipget";
|
2020-05-11 21:02:09 +02:00
|
|
|
rev = "v${version}";
|
2021-07-29 21:01:18 +02:00
|
|
|
sha256 = "sha256-YD05HIVr99b8VmEJgzY2ClNv31I98d0NbfCk3XcB+xk=";
|
2017-10-23 03:46:40 +02:00
|
|
|
};
|
|
|
|
|
2021-07-29 21:01:18 +02:00
|
|
|
vendorSha256 = "sha256-bymHVWskCt7bf02CveMXl1VhZYhRSEH7xIoESh31iGg=";
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
# main module (github.com/ipfs/ipget) does not contain package github.com/ipfs/ipget/sharness/dependencies
|
|
|
|
rm -r sharness/dependencies/
|
|
|
|
'';
|
2020-05-11 21:02:09 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-10-23 03:46:40 +02:00
|
|
|
description = "Retrieve files over IPFS and save them locally";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://ipfs.io/";
|
2017-10-23 03:46:40 +02:00
|
|
|
license = licenses.mit;
|
2020-05-11 21:02:09 +02:00
|
|
|
maintainers = with maintainers; [ Luflosi ];
|
2017-10-23 03:46:40 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|