ipget: 0.3.2 -> 0.6.0
https://github.com/ipfs/ipget/releases/tag/v0.6.0
This commit is contained in:
parent
fcea691510
commit
8e3c58d1d8
@ -1,32 +1,23 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "ipget";
|
pname = "ipget";
|
||||||
version = "0.3.2";
|
version = "0.6.0";
|
||||||
rev = "v${version}";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/ipfs/ipget";
|
|
||||||
|
|
||||||
extraSrcPaths = [
|
|
||||||
(fetchgx {
|
|
||||||
inherit src;name = "${pname}-${version}";
|
|
||||||
sha256 = "07l9hpkhk5phr95zp1l5wd3ii38bw91hy4dlw2rsfbzcsc8bq4s8";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
goDeps = ../../../tools/package-management/gx/deps.nix;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ipfs";
|
owner = "ipfs";
|
||||||
repo = "ipget";
|
repo = "ipget";
|
||||||
inherit rev;
|
rev = "v${version}";
|
||||||
sha256 = "1ljf5ddvc1p5swmgn4m1ivfj74fykk56myk2r9c4grdjzksf4a15";
|
sha256 = "14ygij6hj6bd4g4aw6jgfbi1fgpal0jgf1hr22zxm16dpx3vva6b";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "0vy21pdqk6q5fw7wlcv51myhh9y79n2qhvy61rmblwhxlrkh6sdv";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Retrieve files over IPFS and save them locally";
|
description = "Retrieve files over IPFS and save them locally";
|
||||||
homepage = "https://ipfs.io/";
|
homepage = "https://ipfs.io/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ Luflosi ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user