2021-01-06 16:40:57 +00:00
|
|
|
{ buildOctavePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, jack2
|
2021-06-10 03:57:09 +01:00
|
|
|
, alsa-lib
|
2021-01-06 16:40:57 +00:00
|
|
|
, 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
|
2021-06-10 03:57:09 +01:00
|
|
|
alsa-lib
|
2021-01-06 16:40:57 +00:00
|
|
|
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";
|
2021-06-10 03:57:09 +01:00
|
|
|
platforms = platforms.linux; # Because of run-time dependency on jack2 and alsa-lib
|
2021-01-06 16:40:57 +00:00
|
|
|
};
|
|
|
|
}
|