depot/third_party/nixpkgs/pkgs/applications/networking/ipfs-upload-client/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 lines
701 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 = "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";
};
}