about summary refs log tree commit diff
path: root/pkgs/applications/audio/jamulus/default.nix
blob: 8ad35f34f7ea9a8412f06d00016a0edf0f575fbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ mkDerivation
, lib
, fetchFromGitHub
, pkg-config
, qtscript
, qmake
, qtbase
, qtmultimedia
, qtdeclarative
, libjack2
}:

mkDerivation rec {
  pname = "jamulus";
  version = "3.10.0";
  src = fetchFromGitHub {
    owner = "jamulussoftware";
    repo = "jamulus";
    rev = "r${lib.replaceStrings [ "." ] [ "_" ] version}";
    hash = "sha256-uqBre1Hcdmmifm/gii3MlP9LiAovQVsAaPZTmVm1nnM=";
  };

  nativeBuildInputs = [ pkg-config qmake ];
  buildInputs = [
    qtscript
    qtbase
    qtmultimedia
    qtdeclarative
    libjack2
  ];

  qmakeFlags = [ "CONFIG+=noupcasename" ];

  meta = {
    description = "Enables musicians to perform real-time jam sessions over the internet";
    longDescription = "You also need to enable JACK and should enable several real-time optimizations. See project website for details";
    homepage = "https://github.com/corrados/jamulus/wiki";
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.linux;
    mainProgram = "jamulus";
    maintainers = [ lib.maintainers.seb314 ];
  };
}