Files
nixpkgs/pkgs/by-name/hy/hypershell/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
1.1 KiB
Nix

{
buildNpmPackage,
lib,
fetchurl,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "hypershell";
version = "0.0.15";
npmDepsHash = "sha256-WBGuJBxuOTBPOLGvO9VfTeVrA4+SMVf8LA+fBDCif1c=";
dontNpmBuild = true;
src = fetchFromGitHub {
owner = "holepunchto";
repo = "hypershell";
rev = "v${version}";
hash = "sha256-UWXlcY65elw+xKLte5KE5eyFLDZmEVQBSwsSpv9G7ng=";
};
patches = [
# TODO: remove after this is merged: https://github.com/holepunchto/hypershell/pull/41
(fetchurl {
url = "https://github.com/holepunchto/hypershell/commit/a1775ee32d93bfe06b839da41d1727a575bccb3a.patch";
hash = "sha256-xqQNXKaBN3sVWIEuzB67Ww43mQRkVQl7Div2SCMn0o0=";
})
];
doInstallCheck = true;
installCheckPhase = ''
$out/bin/hypershell --help
'';
meta = {
description = "Spawn shells anywhere. Fully peer-to-peer, authenticated, and end to end encrypted";
homepage = "https://github.com/holepunchto/hypershell";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ davhau ];
mainProgram = "hypershell";
platforms = lib.platforms.all;
};
}