11 inherit (darwin.apple_sdk.frameworks)
18 stdenv.mkDerivation (finalAttrs: {
22 src = fetchFromGitHub {
25 rev = "v${finalAttrs.version}";
26 hash = "sha256-raVBJ75/UmM3P69s8VNUXRE/2jV4WqPIfI4eXaf6UEg=";
34 lib.optionals stdenv.hostPlatform.isLinux [
37 ++ lib.optionals stdenv.hostPlatform.isDarwin [
44 # Bug: set this as true breaks obs-studio-plugins.advanced-scene-switcher
48 cp -r $src/include $out
52 homepage = "https://github.com/jcelerier/libremidi";
53 description = "Modern C++ MIDI real-time & file I/O library";
54 license = lib.licenses.bsd2;
55 maintainers = with lib.maintainers; [ AndersonTorres ];
56 platforms = lib.platforms.all;