diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2022-09-05 07:55:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 07:55:09 +0200 |
commit | 4ee08b8bb25f1d5e98ab9f4c463443dfa61bee34 (patch) | |
tree | 96230132bfba9a28372a89e6450e4c011b65a42f | |
parent | 5e47f3ca19cee42eda0e7e62b4654b0f64a7dcbe (diff) | |
parent | 2bfb0980fd8190dca5a6dd22bacb47d1471da229 (diff) |
Merge pull request #173322 from MatthewCroughan/mc/ipfs-upload-client
ipfs-upload-client: init at 0.1.1
-rw-r--r-- | pkgs/applications/networking/ipfs-upload-client/default.nix | 22 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 24 insertions, 0 deletions
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 0000000000000..449eab708cd88 --- /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 05dd172c550fe..e68b0f4e2fdd1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7669,6 +7669,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; |