diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/narrowlink/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/narrowlink/default.nix | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/tools/networking/narrowlink/default.nix b/nixpkgs/pkgs/tools/networking/narrowlink/default.nix index 68732b518ca9..226dd15b1c9e 100644 --- a/nixpkgs/pkgs/tools/networking/narrowlink/default.nix +++ b/nixpkgs/pkgs/tools/networking/narrowlink/default.nix @@ -9,35 +9,31 @@ rustPlatform.buildRustPackage rec { pname = "narrowlink"; - version = "0.1.4"; + version = "0.2.4"; src = fetchFromGitHub { owner = "narrowlink"; repo = "narrowlink"; rev = version; - hash = "sha256-vef7ctauSl0xfYNqjvl8wLGbqzzkMItz1O7sT1UZ4b0="; + hash = "sha256-priVl44VSxV+rCy/5H704I3CbNXDMP2BUguknl5Bguk="; }; - # Cargo.lock is outdated - cargoPatches = [ ./Cargo.lock.patch ]; - - cargoHash = "sha256-craOunscE6o8PXtZFCYpkFH/amkuLOK7SrV+XHbS2GM="; + cargoHash = "sha256-q15T0/2Xf8L6ZEphIjZzzcqcnkWMbv3zvBAd/Ofvnfg="; nativeBuildInputs = [ - pkg-config + rustPlatform.bindgenHook ]; - buildInputs = [ - openssl - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk_11_0.frameworks.IOKit - darwin.apple_sdk_11_0.frameworks.Security + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.IOKit + darwin.apple_sdk.frameworks.Security ]; meta = { - description = "Narrowlink securely connects devices and services together, even when both nodes are behind separate NAT"; + description = "A 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"; }; } |