mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
octave.pkgs.audio: init at 2.0.2
http://www.music.mcgill.ca/~gary/rtmidi/index.html#compiling contains instructions for Mac OSX. The dependencies for Mac are: CoreMIDI, CoreAudio, CoreFoundation
This commit is contained in:
parent
88f20f352a
commit
035879d9a5
36
pkgs/development/octave-modules/audio/default.nix
Normal file
36
pkgs/development/octave-modules/audio/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ buildOctavePackage
|
||||
, lib
|
||||
, fetchurl
|
||||
, jack2
|
||||
, alsaLib
|
||||
, rtmidi
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
buildOctavePackage rec {
|
||||
pname = "audio";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
||||
sha256 = "18lyvwmdy4b9pcv5sm7g17n3is32q23daw8fcsalkf4rj6cc6qdk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jack2
|
||||
alsaLib
|
||||
rtmidi
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://octave.sourceforge.io/audio/index.html";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ KarlJoad ];
|
||||
description = "Audio and MIDI Toolbox for GNU Octave";
|
||||
platforms = platforms.linux; # Because of run-time dependency on jack2 and alsaLib
|
||||
};
|
||||
}
|
@ -57,9 +57,7 @@ makeScope newScope (self:
|
||||
inherit (pkgs) arduino;
|
||||
};
|
||||
|
||||
audio = callPackage ../development/octave-modules/audio {
|
||||
rtmidi = pkgs.rtmidi;
|
||||
};
|
||||
audio = callPackage ../development/octave-modules/audio { };
|
||||
|
||||
bim = callPackage ../development/octave-modules/bim { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user