blob: b41db495dbaea069a5118d18b6f84a12d4856be5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkgconfig }:
stdenv.mkDerivation rec {
version = "2.1.1";
name = "rtmidi-${version}";
src = fetchFromGitHub {
owner = "thestk";
repo = "rtmidi";
rev = "${version}";
sha256 = "11pl45lp8sq5xkpipwk622w508nw0qcxr03ibicqn1lsws0hva96";
};
buildInputs = [ autoconf automake libtool libjack2 alsaLib pkgconfig ];
preConfigure = ''
./autogen.sh --no-configure
./configure
'';
meta = {
description = "A set of C++ classes that provide a cross platform API for realtime MIDI input/output";
homepage = http://www.music.mcgill.ca/~gary/rtmidi/;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}
|