diff --git a/pkgs/development/libraries/opendht/default.nix b/pkgs/development/libraries/opendht/default.nix index 3669a4aed850..3cf29b7351e9 100644 --- a/pkgs/development/libraries/opendht/default.nix +++ b/pkgs/development/libraries/opendht/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub +{ lib, stdenv, fetchFromGitHub, darwin , cmake, pkg-config , asio, nettle, gnutls, msgpack, readline, libargon2 }: @@ -26,6 +26,8 @@ stdenv.mkDerivation rec { msgpack readline libargon2 + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security ]; outputs = [ "out" "lib" "dev" "man" ]; @@ -35,6 +37,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/savoirfairelinux/opendht"; license = licenses.gpl3Plus; maintainers = with maintainers; [ taeer olynch thoughtpolice ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }