nixpkgs/pkgs/by-name/ip/ipget/package.nix

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

31 lines
761 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2017-10-23 01:46:40 +00:00
buildGoModule rec {
pname = "ipget";
2024-09-13 05:34:29 +00:00
version = "0.11.0";
2017-10-23 01:46:40 +00:00
src = fetchFromGitHub {
owner = "ipfs";
repo = "ipget";
rev = "v${version}";
2024-09-13 05:34:29 +00:00
hash = "sha256-SCYbfsQ8yF2ggwNyW0+kydpSBQN9NPpz1Hmw4ni3cg0=";
2017-10-23 01:46:40 +00:00
};
2024-09-13 05:34:29 +00:00
vendorHash = "sha256-90iimOtFys12nrT0hHyzHrpB03YGNfHY/a7V8Blijfw=";
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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "ipget";
2017-10-23 01:46:40 +00:00
};
}