diff --git a/pkgs/applications/networking/ipfs-upload-client/default.nix b/pkgs/applications/networking/ipfs-upload-client/default.nix new file mode 100644 index 000000000000..449eab708cd8 --- /dev/null +++ b/pkgs/applications/networking/ipfs-upload-client/default.nix @@ -0,0 +1,22 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 03b807a06863..95709753e21a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7179,6 +7179,8 @@ with pkgs; ipfs-migrator-unwrapped = callPackage ../applications/networking/ipfs-migrator/unwrapped.nix { }; ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { }; + ipfs-upload-client = callPackage ../applications/networking/ipfs-upload-client { }; + ipget = callPackage ../applications/networking/ipget { }; i-pi = with python3Packages; toPythonApplication i-pi;