diff options
Diffstat (limited to 'pkgs/development/libraries/libremidi/default.nix')
-rw-r--r-- | pkgs/development/libraries/libremidi/default.nix | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/pkgs/development/libraries/libremidi/default.nix b/pkgs/development/libraries/libremidi/default.nix deleted file mode 100644 index 48014bea0741..000000000000 --- a/pkgs/development/libraries/libremidi/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ alsa-lib -, cmake -, CoreAudio -, CoreFoundation -, CoreMIDI -, CoreServices -, fetchFromGitHub -, lib -, stdenv -}: - -stdenv.mkDerivation rec { - pname = "libremidi"; - version = "4.4.0"; - - src = fetchFromGitHub { - owner = "jcelerier"; - repo = "libremidi"; - rev = "v${version}"; - hash = "sha256-raVBJ75/UmM3P69s8VNUXRE/2jV4WqPIfI4eXaf6UEg="; - }; - - nativeBuildInputs = [ cmake ]; - - buildInputs = lib.optional stdenv.isLinux alsa-lib - ++ lib.optionals stdenv.isDarwin [ - CoreAudio - CoreFoundation - CoreMIDI - CoreServices - ]; - - postInstall = '' - cp -r $src/include $out - ''; - - meta = { - description = "Modern C++ MIDI real-time & file I/O library"; - homepage = "https://github.com/jcelerier/libremidi"; - maintainers = [ ]; - license = lib.licenses.bsd2; - platforms = lib.platforms.all; - }; -} |