mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
commit
5fc37f2897
32
pkgs/applications/networking/ipget/default.nix
Normal file
32
pkgs/applications/networking/ipget/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "ipget-${version}";
|
||||
version = "0.2.5";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/ipfs/ipget";
|
||||
|
||||
extraSrcPaths = [
|
||||
(fetchgx {
|
||||
inherit name src;
|
||||
sha256 = "1d4w8zl5mcppn3d4bl7qdkiqlf8gi3z2a62nygx17bqpa3da8cf3";
|
||||
})
|
||||
];
|
||||
|
||||
goDeps = ../../../tools/package-management/gx/deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ipfs";
|
||||
repo = "ipget";
|
||||
inherit rev;
|
||||
sha256 = "0a8yxqhl469ipiznrgkp3yi1xz3xzcbpx60wabqppq8hccrdiybk";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Retrieve files over IPFS and save them locally";
|
||||
homepage = https://ipfs.io/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -2719,6 +2719,8 @@ with pkgs;
|
||||
ipfs = callPackage ../applications/networking/ipfs { };
|
||||
ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { };
|
||||
|
||||
ipget = callPackage ../applications/networking/ipget { };
|
||||
|
||||
ipmitool = callPackage ../tools/system/ipmitool {
|
||||
static = false;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user