forked from mirrors/nixpkgs
opendht: enable for darwin
This commit is contained in:
parent
2eb78543ed
commit
57752827de
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue