2016-11-01 19:48:54 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, alsaLib, libjack2Unstable, libpulseaudio }:
|
2015-09-04 01:56:17 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-07 08:44:36 +01:00
|
|
|
version = "1.1.0";
|
2015-09-04 01:56:17 +02:00
|
|
|
name = "libsoundio-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "andrewrk";
|
|
|
|
repo = "libsoundio";
|
|
|
|
rev = "${version}";
|
2016-03-07 08:44:36 +01:00
|
|
|
sha256 = "0mw197l4bci1cjc2z877gxwsvk8r43dr7qiwci2hwl2cjlcnqr2p";
|
2015-09-04 01:56:17 +02:00
|
|
|
};
|
|
|
|
|
2016-11-01 19:48:54 +01:00
|
|
|
buildInputs = [ cmake alsaLib libjack2Unstable libpulseaudio ];
|
2015-09-04 01:56:17 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Cross platform audio input and output";
|
|
|
|
homepage = http://libsound.io/;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.andrewrk ];
|
|
|
|
};
|
|
|
|
}
|