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
42 lines
990 B
Nix
42 lines
990 B
Nix
{
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
lib,
|
|
}:
|
|
|
|
buildNpmPackage {
|
|
pname = "hyperssh";
|
|
version = "5.0.3";
|
|
|
|
npmDepsHash = "sha256-nT++cvYbY+zsebIaMZ0hUhK9pAX17GTbQyuixdCjojM=";
|
|
|
|
makeCacheWritable = true;
|
|
|
|
dontNpmBuild = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mafintosh";
|
|
repo = "hyperssh";
|
|
rev = "v5.0.3";
|
|
hash = "sha256-vjPSNcQRsqu0ee0hownEE9y8dFf9dqaL7alGRc9WjcI=2";
|
|
};
|
|
|
|
patches = [
|
|
# TODO: remove after this is merged: https://github.com/mafintosh/hyperssh/pull/16
|
|
(fetchurl {
|
|
url = "https://github.com/mafintosh/hyperssh/commit/ad1d0e06a133e71c9df9f59dd5f805c49f46ec70.patch";
|
|
hash = "sha256-fUjgHHbZHgqokNg2fVVZCjoDA3LqSJiFzBwgA8Tt1m4=";
|
|
})
|
|
];
|
|
|
|
meta = {
|
|
description = "Run SSH over hyperswarm";
|
|
homepage = "https://github.com/mafintosh/hyperssh";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ davhau ];
|
|
mainProgram = "hyperssh";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|