blob: 23c9d7df8120dc8c7b8ee9c04a5c828484ca58d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
buildGoPackage rec {
name = "ipget-${version}";
version = "0.2.5";
rev = "v${version}";
goPackagePath = "github.com/ipfs/ipget";
extraSrcPaths = [
(fetchgx {
inherit name src;
sha256 = "1d4w8zl5mcppn3d4bl7qdkiqlf8gi3z2a62nygx17bqpa3da8cf3";
})
];
goDeps = ../../../tools/package-management/gx/deps.nix;
src = fetchFromGitHub {
owner = "ipfs";
repo = "ipget";
inherit rev;
sha256 = "0a8yxqhl469ipiznrgkp3yi1xz3xzcbpx60wabqppq8hccrdiybk";
};
meta = with stdenv.lib; {
description = "Retrieve files over IPFS and save them locally";
homepage = https://ipfs.io/;
license = licenses.mit;
platforms = platforms.unix;
};
}
|