depot/third_party/nixpkgs/pkgs/development/octave-modules/audio/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

36 lines
746 B
Nix

{ buildOctavePackage
, lib
, fetchurl
, jack2
, alsa-lib
, rtmidi
, pkg-config
}:
buildOctavePackage rec {
pname = "audio";
version = "2.0.5";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "sha256-/4akeeOQnvTlk9ah+e8RJfwJG2Eq2HAGOCejhiIUjF4=";
};
nativeBuildInputs = [
pkg-config
];
propagatedBuildInputs = [
jack2
alsa-lib
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 alsa-lib
};
}