blob: fbdb9690ef2fee07d7831edb1e27884416a020d3 (
plain)
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
|
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "ipfs-upload-client";
version = "0.1.2";
src = fetchFromGitHub {
owner = "infura";
repo = "ipfs-upload-client";
rev = "v${finalAttrs.version}";
hash = "sha256-BT/LC+PKzAjxM7P2Iis28OlJmrZRbCwfd6kPEL3oaaI=";
};
vendorHash = "sha256-YzIUoN/B4TBlAfmvORrR9Gy+lMzwlaePm8yBoMsPaYU=";
meta = {
description = "Minimal CLI tool to upload files and directories to IPFS via Infura's IPFS or another API endpoint";
homepage = "https://github.com/INFURA/ipfs-upload-client";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ matthewcroughan ];
mainProgram = "ipfs-upload-client";
};
})
|