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
35 lines
848 B
Nix
35 lines
848 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "narrowlink";
|
|
version = "0.2.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "narrowlink";
|
|
repo = "narrowlink";
|
|
rev = version;
|
|
hash = "sha256-O66eihqSxwvrUfJj+VMrs7Vfndz2LPKQEnH7BDljvUg=";
|
|
};
|
|
|
|
cargoHash = "sha256-NjL5A+HEz7WDsTcwAGj1g+Brs4JYsU1kl0OZfTfoBN0=";
|
|
|
|
nativeBuildInputs = [
|
|
rustPlatform.bindgenHook
|
|
];
|
|
|
|
meta = {
|
|
description = "Self-hosted solution to enable secure connectivity between devices across restricted networks like NAT or firewalls";
|
|
homepage = "https://github.com/narrowlink/narrowlink";
|
|
license = with lib.licenses; [
|
|
agpl3Only
|
|
mpl20
|
|
]; # the gateway component is AGPLv3, the rest is MPLv2
|
|
maintainers = with lib.maintainers; [ dit7ya ];
|
|
mainProgram = "narrowlink";
|
|
};
|
|
}
|