22 lines
667 B
Nix
22 lines
667 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "ipfs-upload-client";
|
|
version = "0.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "infura";
|
|
repo = "ipfs-upload-client";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-O9N2QGQDNk/nwpuJrJKy9arN3gjsBAL+IdghfSaUrCw=";
|
|
};
|
|
|
|
vendorSha256 = "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 ];
|
|
};
|
|
}
|