Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
900 B
Nix
39 lines
900 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildNpmPackage (finalAttrs: {
|
|
pname = "hyperbeam";
|
|
version = "3.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "holepunchto";
|
|
repo = "hyperbeam";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-SSHSQIVfHYFa1YkV3eeDkXSQV8KERADlmhOmxIiY+ko=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-EjzdBqA1KNZbhkRkyMwC/YSgbkbs5BRC6ummQkQHyEs=";
|
|
|
|
dontNpmBuild = true;
|
|
|
|
postPatch = ''
|
|
cp ${./package-lock.json} ./package-lock.json
|
|
'';
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "1-1 End-to-End Encrypted Internet Pipe Powered by Hyperswarm";
|
|
homepage = "https://github.com/holepunchto/hyperbeam";
|
|
mainProgram = "hyperbeam";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.all;
|
|
teams = with lib.teams; [ ngi ];
|
|
maintainers = with lib.maintainers; [ davhau ];
|
|
};
|
|
})
|