12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-TJ3q97K3m3zYGB1D5lLVyrh61L3vtnP5I64lP/DYzW4=";
25 url = "https://raw.githubusercontent.com/openwrt/telephony/5ced7ea4fc9bd746273d564bf3c102f253d2182e/libs/libks/patches/01-find-libm.patch";
26 sha256 = "1hyrsdxg69d08qzvf3mbrx2363lw52jcybw8i3ynzqcl228gcg8a";
30 dontUseCmakeBuildDir = true;
37 buildInputs = [ openssl ]
38 ++ lib.optional stdenv.isLinux libuuid
39 ++ lib.optional stdenv.isDarwin libossp_uuid;
42 description = "Foundational support for signalwire C products";
43 homepage = "https://github.com/signalwire/libks";
44 maintainers = with lib.maintainers; [ misuzu ];
45 platforms = platforms.unix;
46 license = licenses.mit;