mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{ lib, stdenv, fetchurl, cmake
|
|
, alsa-lib, fftwSinglePrec, libjack2, libpulseaudio, libvorbis, soundtouch
|
|
, qtbase, qtdeclarative, qtgraphicaleffects, qtquickcontrols2, qttools, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "nootka";
|
|
version = "2.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/nootka/${pname}-${version}-source.tar.bz2";
|
|
sha256 = "sha256-ZHdyLZ3+TCpQ77tcNuDlN2124qLDZu9DdH5x7RI1HIs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
|
buildInputs = [
|
|
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";
|
|
mainProgram = "nootka";
|
|
homepage = "https://nootka.sourceforge.io/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ mmlb orivej ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|