1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 pkg-config,
6 libsForQt5,
7 libjack2,
8}:
9stdenv.mkDerivation rec {
10 pname = "jamulus";
11 version = "3.11.0";
12
13 src = fetchFromGitHub {
14 owner = "jamulussoftware";
15 repo = "jamulus";
16 tag = "r${lib.replaceStrings [ "." ] [ "_" ] version}";
17 hash = "sha256-YxXSSVm3n96YzE51cXpWf4z2nQBSguvcEp/kU0a6iBA=";
18 };
19
20 nativeBuildInputs = [
21 pkg-config
22 libsForQt5.qmake
23 libsForQt5.wrapQtAppsHook
24 ];
25
26 buildInputs = [
27 libsForQt5.qtscript
28 libsForQt5.qtbase
29 libsForQt5.qtmultimedia
30 libsForQt5.qtdeclarative
31 libjack2
32 ];
33
34 qmakeFlags = [ "CONFIG+=noupcasename" ];
35
36 meta = {
37 description = "Enables musicians to perform real-time jam sessions over the internet";
38 longDescription = "You also need to enable JACK and should enable several real-time optimizations. See project website for details";
39 homepage = "https://github.com/corrados/jamulus";
40 license = lib.licenses.gpl2Plus;
41 platforms = lib.platforms.linux;
42 mainProgram = "jamulus";
43 maintainers = with lib.maintainers; [ seb314 ];
44 };
45}