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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
765 B
Nix
Raw Normal View History

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