2023-04-12 12:48:02 +00:00
|
|
|
{ lib, fetchFromGitHub, fetchpatch, cmake, pkg-config, alsa-lib ? null, carla ? null, fftwFloat, fltk13
|
2021-10-17 02:12:59 +00:00
|
|
|
, fluidsynth ? null, lame ? null, libgig ? null, libjack2 ? null, libpulseaudio ? null
|
2020-04-24 23:36:52 +00:00
|
|
|
, libsamplerate, libsoundio ? null, libsndfile, libvorbis ? null, portaudio ? null
|
|
|
|
, qtbase, qtx11extras, qttools, SDL ? null, mkDerivation }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "lmms";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LMMS";
|
|
|
|
repo = "lmms";
|
|
|
|
rev = "v${version}";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "006hwv1pbh3y5whsxkjk20hsbgwkzr4dawz43afq1gil69y7xpda";
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake qttools pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2023-04-12 12:48:02 +00:00
|
|
|
carla
|
2021-06-28 23:13:55 +00:00
|
|
|
alsa-lib
|
2020-04-24 23:36:52 +00:00
|
|
|
fftwFloat
|
|
|
|
fltk13
|
2021-10-17 02:12:59 +00:00
|
|
|
fluidsynth
|
2020-04-24 23:36:52 +00:00
|
|
|
lame
|
|
|
|
libgig
|
|
|
|
libjack2
|
|
|
|
libpulseaudio
|
|
|
|
libsamplerate
|
|
|
|
libsndfile
|
|
|
|
libsoundio
|
|
|
|
libvorbis
|
|
|
|
portaudio
|
|
|
|
qtbase
|
|
|
|
qtx11extras
|
|
|
|
SDL # TODO: switch to SDL2 in the next version
|
|
|
|
];
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/archlinux/svntogit-community/cf64acc45e3264c6923885867e2dbf8b7586a36b/trunk/lmms-carla-export.patch";
|
|
|
|
sha256 = "sha256-wlSewo93DYBN2PvrcV58dC9kpoo9Y587eCeya5OX+j4=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
cmakeFlags = [ "-DWANT_QT5=ON" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "DAW similar to FL Studio (music production software)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "lmms";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://lmms.io";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu yana ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|