3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/audio/rtmidi/default.nix

32 lines
859 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkg-config }:
stdenv.mkDerivation rec {
version = "4.0.0";
pname = "rtmidi";
src = fetchFromGitHub {
owner = "thestk";
repo = "rtmidi";
2019-09-09 00:38:31 +01:00
rev = version;
sha256 = "1g31p6a96djlbk9jh5r4pjly3x76lhccva9hrw6xzdma8dsjzgyq";
};
2018-06-27 22:54:37 +01:00
enableParallelBuilding = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ autoconf automake libtool libjack2 alsaLib ];
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 = lib.licenses.mit;
maintainers = [ lib.maintainers.magnetophon ];
platforms = with lib.platforms; linux ++ darwin;
};
}