nixpkgs/pkgs/applications/networking/ipfs-upload-client/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
703 B
Nix
Raw Normal View History

2022-05-16 22:45:59 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ipfs-upload-client";
2023-09-02 06:10:58 +00:00
version = "0.1.2";
2022-05-16 22:45:59 +00:00
src = fetchFromGitHub {
owner = "infura";
repo = "ipfs-upload-client";
rev = "v${version}";
2023-09-02 06:10:58 +00:00
hash = "sha256-BT/LC+PKzAjxM7P2Iis28OlJmrZRbCwfd6kPEL3oaaI=";
2022-05-16 22:45:59 +00:00
};
2023-09-02 06:10:58 +00:00
vendorHash = "sha256-YzIUoN/B4TBlAfmvORrR9Gy+lMzwlaePm8yBoMsPaYU=";
2022-05-16 22:45:59 +00:00
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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "ipfs-upload-client";
2022-05-16 22:45:59 +00:00
};
}