12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "12l4rvaypv87vigdrmjz48d4d6sq4gfxf5asvnc4adyabxb73i4x";
23 nativeBuildInputs = [ cmake ];
27 ++ lib.optionals stdenv.hostPlatform.isLinux [
31 ++ lib.optional stdenv.hostPlatform.isDarwin AudioUnit;
33 cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [
37 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-strict-prototypes";
40 description = "Cross platform audio input and output";
41 homepage = "http://libsound.io/";
42 license = licenses.mit;
43 platforms = platforms.unix;
44 maintainers = [ maintainers.andrewrk ];