depot/third_party/nixpkgs/pkgs/applications/networking/ipget/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

30 lines
769 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ipget";
version = "0.9.1";
src = fetchFromGitHub {
owner = "ipfs";
repo = "ipget";
rev = "v${version}";
sha256 = "sha256-JGG3DsmFXmWFOFvJ8pKVhQMRgZ0cbkdtmBjMkLYqOwU=";
};
vendorSha256 = "sha256-scrueQoqr9nUONnpitUontcX3Xe0KmmUmvxOcpxK7M8=";
postPatch = ''
# main module (github.com/ipfs/ipget) does not contain package github.com/ipfs/ipget/sharness/dependencies
rm -r sharness/dependencies/
'';
doCheck = false;
meta = with lib; {
description = "Retrieve files over IPFS and save them locally";
homepage = "https://ipfs.io/";
license = licenses.mit;
maintainers = with maintainers; [ Luflosi ];
platforms = platforms.unix;
};
}