libks: build on darwin
This commit is contained in:
parent
811b4f1794
commit
3d966d6e09
|
@ -6,6 +6,7 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, libuuid
|
, libuuid
|
||||||
, openssl
|
, openssl
|
||||||
|
, libossp_uuid
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -33,16 +34,15 @@ stdenv.mkDerivation rec {
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [ openssl ]
|
||||||
libuuid
|
++ lib.optional stdenv.isLinux libuuid
|
||||||
openssl
|
++ lib.optional stdenv.isDarwin libossp_uuid;
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Foundational support for signalwire C products";
|
description = "Foundational support for signalwire C products";
|
||||||
homepage = "https://github.com/signalwire/libks";
|
homepage = "https://github.com/signalwire/libks";
|
||||||
maintainers = with lib.maintainers; [ misuzu ];
|
maintainers = with lib.maintainers; [ misuzu ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue