-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
166 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
buildNpmPackage, | ||
lib, | ||
fetchurl, | ||
fetchFromGitHub, | ||
}: | ||
|
||
buildNpmPackage { | ||
pname = "hyper-cmd-utils"; | ||
version = "1.0.0"; | ||
|
||
npmDepsHash = "sha256-FgUIHdmmeRhVoXisc2WdWUNA76vzFCfkM58RpqLoK5s="; | ||
|
||
dontNpmBuild = true; | ||
|
||
makeCacheWritable = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "holepunchto"; | ||
repo = "hyper-cmd-utils"; | ||
rev = "b8f1da1a1f4bc28ff9dbdbb6f4d777c2378d6137"; | ||
hash = "sha256-fQkXCor6Fnl0E5XAgIm7SP4Nq6oTHdQtKFEbvXoXx9A="; | ||
}; | ||
|
||
patches = [ | ||
# TODO: remove after this is merged: https://github.com/holepunchto/hyper-cmd-utils/pull/6 | ||
(fetchurl { | ||
url = "https://github.com/holepunchto/hyper-cmd-utils/commit/9bec5ca0a58fc9ba263afe750134f82e7e1c30c4.patch"; | ||
hash = "sha256-p32r5y8PnROePbpsBLYza1+lGR2n0amSdo8qDWhyYxo="; | ||
}) | ||
]; | ||
|
||
meta = { | ||
description = "HyperCmd Utils"; | ||
homepage = "https://github.com/holepunchto/hyper-cmd-utils"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ davhau ]; | ||
mainProgram = "hyper-cmd-utils"; | ||
platforms = lib.platforms.all; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
buildNpmPackage, | ||
lib, | ||
fetchurl, | ||
fetchFromGitHub, | ||
}: | ||
|
||
buildNpmPackage rec { | ||
pname = "hyperbeam"; | ||
version = "3.0.2"; | ||
|
||
npmDepsHash = "sha256-ZZX3BOtSSiLvAEcWuKiUMHrYOt8N6SYYQ+QGzbprL3E="; | ||
|
||
dontNpmBuild = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "holepunchto"; | ||
repo = "hyperbeam"; | ||
rev = "v${version}"; | ||
hash = "sha256-g3eGuol3g1yfGHDSzI1wQXMxJudGCt4PHHdmtiRQS/Q="; | ||
}; | ||
|
||
patches = [ | ||
# TODO: remove after this is merged: https://github.com/holepunchto/hyperbeam/pull/22 | ||
(fetchurl { | ||
url = "https://github.com/holepunchto/hyperbeam/commit/e84e4be979bf89d8e8042878d2beb5c1a5dbf946.patch"; | ||
hash = "sha256-AdXmfti9/08kRYuL1l4gXmvSV7bV0kE72Pf/bNqiFQw="; | ||
}) | ||
]; | ||
|
||
meta = { | ||
description = "A 1-1 end-to-end encrypted internet pipe powered by Hyperswarm "; | ||
homepage = "https://github.com/holepunchto/hyperbeam"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ davhau ]; | ||
mainProgram = "hyperbeam"; | ||
platforms = lib.platforms.all; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
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; | ||
}; | ||
} |