12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 hash = "sha256-aO83a0DmzwjYXDlPIsn136EkDF0406HadTXPoGuVF6I=";
23 nativeBuildInputs = [ cmake ];
25 buildInputs = lib.optional stdenv.isLinux alsa-lib
26 ++ lib.optionals stdenv.isDarwin [
34 cp -r $src/include $out
38 description = "A modern C++ MIDI real-time & file I/O library";
39 homepage = "https://github.com/jcelerier/libremidi";
40 maintainers = [ lib.maintainers.paveloom ];
41 license = lib.licenses.bsd2;
42 platforms = lib.platforms.all;