hyperswarm: init at 4.11.5
This commit is contained in:
parent
d03241089a
commit
07eadd0d74
4969
pkgs/by-name/hy/hyperswarm/package-lock.json
generated
Normal file
4969
pkgs/by-name/hy/hyperswarm/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
37
pkgs/by-name/hy/hyperswarm/package.nix
Normal file
37
pkgs/by-name/hy/hyperswarm/package.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildNpmPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
nix-update-script,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildNpmPackage (finalAttrs: {
|
||||||
|
pname = "hyperswarm";
|
||||||
|
version = "4.11.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "holepunchto";
|
||||||
|
repo = "hyperswarm";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-jyEwIb8nAnk6Fiw3lMgURoSOqz3lka085c58qq4Vxwc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmDepsHash = "sha256-4ysUYFIFlzr57J7MdZit1yX3Dgpb2eY0rdYnwyppwK0=";
|
||||||
|
|
||||||
|
dontNpmBuild = true;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
cp ${./package-lock.json} ./package-lock.json
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Distributed Networking Stack for Connecting Peers";
|
||||||
|
homepage = "https://github.com/holepunchto/hyperswarm";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
teams = with lib.teams; [ ngi ];
|
||||||
|
maintainers = with lib.maintainers; [ ];
|
||||||
|
};
|
||||||
|
})
|
||||||
Loading…
x
Reference in New Issue
Block a user