hyperswarm: init at 4.11.5

This commit is contained in:
Alexander 2025-05-01 15:36:27 -05:00 committed by Valentin Gagarin
parent d03241089a
commit 07eadd0d74
2 changed files with 5006 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View 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; [ ];
};
})