2022-09-09 14:08:57 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ipfs-upload-client";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.1.2";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "infura";
|
|
|
|
repo = "ipfs-upload-client";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-BT/LC+PKzAjxM7P2Iis28OlJmrZRbCwfd6kPEL3oaaI=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-YzIUoN/B4TBlAfmvORrR9Gy+lMzwlaePm8yBoMsPaYU=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Minimal CLI tool to upload files and directories to IPFS via Infura's IPFS or another API endpoint";
|
2022-09-09 14:08:57 +00:00
|
|
|
homepage = "https://github.com/INFURA/ipfs-upload-client";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthewcroughan ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "ipfs-upload-client";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
}
|