2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkg-config }:
|
2016-05-01 16:57:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-02 16:00:20 +01:00
|
|
|
version = "4.0.0";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rtmidi";
|
2016-05-01 16:57:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thestk";
|
|
|
|
repo = "rtmidi";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2019-05-02 16:00:20 +01:00
|
|
|
sha256 = "1g31p6a96djlbk9jh5r4pjly3x76lhccva9hrw6xzdma8dsjzgyq";
|
2016-05-01 16:57:16 +01:00
|
|
|
};
|
|
|
|
|
2018-06-27 22:54:37 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ autoconf automake libtool libjack2 alsaLib ];
|
2016-05-01 16:57:16 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh --no-configure
|
|
|
|
./configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A set of C++ classes that provide a cross platform API for realtime MIDI input/output";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.music.mcgill.ca/~gary/rtmidi/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
|
|
platforms = with lib.platforms; linux ++ darwin;
|
2016-05-01 16:57:16 +01:00
|
|
|
};
|
|
|
|
}
|