Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 34 lines 768 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "ipget"; 9 version = "0.11.3"; 10 11 src = fetchFromGitHub { 12 owner = "ipfs"; 13 repo = "ipget"; 14 rev = "v${version}"; 15 hash = "sha256-Q9rgbfPAdAulNuDQ1bXM08aK0IEerbsKqjK8aMnBwcM="; 16 }; 17 18 vendorHash = "sha256-2boqKf/7y/71ThNodUuZXaRHZadx+TU0d6swHHN1VyM="; 19 20 postPatch = '' 21 # main module (github.com/ipfs/ipget) does not contain package github.com/ipfs/ipget/sharness/dependencies 22 rm -r sharness/dependencies/ 23 ''; 24 25 doCheck = false; 26 27 meta = with lib; { 28 description = "Retrieve files over IPFS and save them locally"; 29 homepage = "https://ipfs.io/"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ Luflosi ]; 32 mainProgram = "ipget"; 33 }; 34}