nixpkgs/pkgs/development/libraries/audio/rtaudio/default.nix

33 lines
879 B
Nix
Raw Normal View History

2019-09-12 14:03:49 +03:00
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pulseaudio, rtmidi }:
stdenv.mkDerivation rec {
version = "5.1.0";
pname = "rtaudio";
src = fetchFromGitHub {
owner = "thestk";
repo = "rtaudio";
2019-09-09 02:38:31 +03:00
rev = version;
sha256 = "1pglnjz907ajlhnlnig3p0sx7hdkpggr8ss7b3wzf1lykzgv9l52";
};
2020-03-23 05:08:54 +03:00
patches = [ ./rtaudio-pkgconfig.patch ];
2018-06-28 00:53:55 +03:00
enableParallelBuilding = true;
2019-09-12 14:03:49 +03:00
buildInputs = [ autoconf automake libtool libjack2 alsaLib pulseaudio rtmidi ];
preConfigure = ''
./autogen.sh --no-configure
./configure
'';
2019-09-12 14:03:49 +03:00
meta = with stdenv.lib; {
description = "A set of C++ classes that provide a cross platform API for realtime audio input/output";
homepage = "http://www.music.mcgill.ca/~gary/rtaudio/";
2019-09-12 14:03:49 +03:00
license = licenses.mit;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.unix;
};
}