2020-05-11 20:02:09 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2017-10-23 02:46:40 +01:00
|
|
|
|
2020-05-11 20:02:09 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ipget";
|
2020-05-11 20:02:09 +01:00
|
|
|
version = "0.6.0";
|
2017-10-23 02:46:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "ipget";
|
2020-05-11 20:02:09 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "14ygij6hj6bd4g4aw6jgfbi1fgpal0jgf1hr22zxm16dpx3vva6b";
|
2017-10-23 02:46:40 +01:00
|
|
|
};
|
|
|
|
|
2020-05-11 20:02:09 +01:00
|
|
|
vendorSha256 = "0vy21pdqk6q5fw7wlcv51myhh9y79n2qhvy61rmblwhxlrkh6sdv";
|
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2017-10-23 02:46:40 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Retrieve files over IPFS and save them locally";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://ipfs.io/";
|
2017-10-23 02:46:40 +01:00
|
|
|
license = licenses.mit;
|
2020-05-11 20:02:09 +01:00
|
|
|
maintainers = with maintainers; [ Luflosi ];
|
2017-10-23 02:46:40 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|