nixpkgs/pkgs/applications/networking/ipget/default.nix

31 lines
769 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2017-10-23 03:46:40 +02:00
buildGoModule rec {
pname = "ipget";
version = "0.7.0";
2017-10-23 03:46:40 +02:00
src = fetchFromGitHub {
owner = "ipfs";
repo = "ipget";
rev = "v${version}";
sha256 = "sha256-YD05HIVr99b8VmEJgzY2ClNv31I98d0NbfCk3XcB+xk=";
2017-10-23 03:46:40 +02:00
};
vendorSha256 = "sha256-bymHVWskCt7bf02CveMXl1VhZYhRSEH7xIoESh31iGg=";
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; {
2017-10-23 03:46:40 +02:00
description = "Retrieve files over IPFS and save them locally";
homepage = "https://ipfs.io/";
2017-10-23 03:46:40 +02:00
license = licenses.mit;
maintainers = with maintainers; [ Luflosi ];
2017-10-23 03:46:40 +02:00
platforms = platforms.unix;
};
}