504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
23 lines
703 B
Nix
23 lines
703 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "ipfs-upload-client";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "infura";
|
|
repo = "ipfs-upload-client";
|
|
rev = "v${version}";
|
|
hash = "sha256-BT/LC+PKzAjxM7P2Iis28OlJmrZRbCwfd6kPEL3oaaI=";
|
|
};
|
|
|
|
vendorHash = "sha256-YzIUoN/B4TBlAfmvORrR9Gy+lMzwlaePm8yBoMsPaYU=";
|
|
|
|
meta = with lib; {
|
|
description = "A 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 = licenses.mit;
|
|
maintainers = with maintainers; [ matthewcroughan ];
|
|
mainProgram = "ipfs-upload-client";
|
|
};
|
|
}
|