nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 706 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "ipfs-upload-client"; 9 version = "0.1.2"; 10 11 src = fetchFromGitHub { 12 owner = "infura"; 13 repo = "ipfs-upload-client"; 14 rev = "v${version}"; 15 hash = "sha256-BT/LC+PKzAjxM7P2Iis28OlJmrZRbCwfd6kPEL3oaaI="; 16 }; 17 18 vendorHash = "sha256-YzIUoN/B4TBlAfmvORrR9Gy+lMzwlaePm8yBoMsPaYU="; 19 20 meta = { 21 description = "Minimal CLI tool to upload files and directories to IPFS via Infura's IPFS or another API endpoint"; 22 homepage = "https://github.com/INFURA/ipfs-upload-client"; 23 license = lib.licenses.mit; 24 maintainers = with lib.maintainers; [ matthewcroughan ]; 25 mainProgram = "ipfs-upload-client"; 26 }; 27}