3
0
Fork 0
forked from mirrors/nixpkgs

opendht: enable for darwin

This commit is contained in:
Robert Scott 2021-08-15 20:55:53 +01:00 committed by Austin Seipp
parent 2eb78543ed
commit 57752827de

View file

@ -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;
};
}