2015-09-04 01:56:17 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, alsaLib, libjack2-git, libpulseaudio }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-10-21 05:07:35 +02:00
|
|
|
version = "1.0.3";
|
2015-09-04 01:56:17 +02:00
|
|
|
name = "libsoundio-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "andrewrk";
|
|
|
|
repo = "libsoundio";
|
|
|
|
rev = "${version}";
|
2015-10-21 05:07:35 +02:00
|
|
|
sha256 = "0xnv0rsan57i07ky823jczylbcpbzjk6j06fw9x0md65arcgcqfy";
|
2015-09-04 01:56:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake alsaLib libjack2-git libpulseaudio ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Cross platform audio input and output";
|
|
|
|
homepage = http://libsound.io/;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.andrewrk ];
|
|
|
|
};
|
|
|
|
}
|