nixpkgs/pkgs/applications/audio/nootka/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake
2022-07-25 21:56:28 +00:00
, alsa-lib, fftwSinglePrec, libjack2, libpulseaudio, libvorbis, soundtouch
, qtbase, qtdeclarative, qtgraphicaleffects, qtquickcontrols2, qttools, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "nootka";
2022-07-25 21:56:28 +00:00
version = "2.0.2";
src = fetchurl {
url = "mirror://sourceforge/nootka/${pname}-${version}-source.tar.bz2";
2022-07-25 21:56:28 +00:00
sha256 = "sha256-ZHdyLZ3+TCpQ77tcNuDlN2124qLDZu9DdH5x7RI1HIs=";
};
2022-07-25 21:56:28 +00:00
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [
2022-07-25 21:56:28 +00:00
alsa-lib
fftwSinglePrec
libjack2
libpulseaudio
libvorbis
soundtouch
qtbase
qtdeclarative
qtgraphicaleffects
qtquickcontrols2
qttools
];
cmakeFlags = [
"-DCMAKE_INCLUDE_PATH=${lib.getDev libjack2}/include/jack;${lib.getDev libpulseaudio}/include/pulse"
"-DENABLE_JACK=ON"
"-DENABLE_PULSEAUDIO=ON"
];
meta = with lib; {
description = "Application for practicing playing musical scores and ear training";
homepage = "https://nootka.sourceforge.io/";
license = licenses.gpl3Plus;
2022-07-25 21:56:28 +00:00
maintainers = with maintainers; [ mmlb orivej ];
platforms = platforms.linux;
};
}