nixpkgs/pkgs/development/libraries/audio/rtmidi/default.nix
R. RyanTM ec2fb52b43 rtmidi: 2.1.1 -> 4.0.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/rtmidi/versions
2019-05-02 08:00:20 -07:00

32 lines
886 B
Nix

{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkgconfig }:
stdenv.mkDerivation rec {
version = "4.0.0";
name = "rtmidi-${version}";
src = fetchFromGitHub {
owner = "thestk";
repo = "rtmidi";
rev = "${version}";
sha256 = "1g31p6a96djlbk9jh5r4pjly3x76lhccva9hrw6xzdma8dsjzgyq";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
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 = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}