From 1f1124859d9cbb705b60d8c012a7af61ab4abf94 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 16 Apr 2018 15:11:23 +0300 Subject: [PATCH] dante: add extra build inputs Add PAM, SASL and UPnP support. --- pkgs/servers/dante/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/dante/default.nix b/pkgs/servers/dante/default.nix index ee139ea2652c..1c093facde5c 100644 --- a/pkgs/servers/dante/default.nix +++ b/pkgs/servers/dante/default.nix @@ -1,6 +1,6 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, pam, libkrb5, cyrus_sasl, miniupnpc }: -stdenv.mkDerivation (rec { +stdenv.mkDerivation rec { name = "dante-${version}"; version = "1.4.2"; @@ -9,15 +9,17 @@ stdenv.mkDerivation (rec { sha256 = "1bfafnm445afrmyxvvcl8ckq0p59yzykmr3y8qvryzrscd85g8ms"; }; + buildInputs = [ pam libkrb5 cyrus_sasl miniupnpc ]; + configureFlags = [ "--with-libc=libc.so.6" ]; - meta = { + meta = with stdenv.lib; { description = "A circuit-level SOCKS client/server that can be used to provide convenient and secure network connectivity."; homepage = "https://www.inet.no/dante/"; - maintainers = [ stdenv.lib.maintainers.arobyn ]; - license = stdenv.lib.licenses.bsdOriginal; - platforms = stdenv.lib.platforms.linux; + maintainers = [ maintainers.arobyn ]; + license = licenses.bsdOriginal; + platforms = platforms.linux; }; -}) +}