2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ipget";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "0.10.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "ipget";
|
2020-05-29 06:06:01 +00:00
|
|
|
rev = "v${version}";
|
2023-10-19 13:55:26 +00:00
|
|
|
hash = "sha256-nT0bMy4L1T2rwE6g3Q4tNkmeP3XyPVxCV9yoGqMZjNs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
vendorHash = "sha256-q8uwijh3y4l4ebFc3u5Z6TLUUiQqUK6Qpqq/m0kLF14=";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
# main module (github.com/ipfs/ipget) does not contain package github.com/ipfs/ipget/sharness/dependencies
|
|
|
|
rm -r sharness/dependencies/
|
|
|
|
'';
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Retrieve files over IPFS and save them locally";
|
|
|
|
homepage = "https://ipfs.io/";
|
|
|
|
license = licenses.mit;
|
2020-05-29 06:06:01 +00:00
|
|
|
maintainers = with maintainers; [ Luflosi ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "ipget";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|