summary refs log tree commit diff
path: root/pkgs/applications/audio/jackmix/default.nix
blob: 5df6e1e2daeac8349164ab0265407bdbc67de5ff (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
{ stdenv, fetchurl, pkgconfig, scons, qt4, lash, libjack2, jack ? libjack2 }:

stdenv.mkDerivation {
  name = "jackmix-0.5.2";
  src = fetchurl {
    url = https://github.com/kampfschlaefer/jackmix/archive/v0.5.2.tar.gz;
    sha256 = "18f5v7g66mgarhs476frvayhch7fy4nyjf2xivixc061ipn0m82j";
  };

  patches = [ ./no_error.patch ];

  nativeBuildInputs = [ scons.py2 pkgconfig ];
  buildInputs = [
    qt4
    lash
    jack
  ];

  installPhase = ''
    install -D jackmix/jackmix $out/bin/jackmix
  '';

  meta = {
    description = "Matrix-Mixer for the Jack-Audio-connection-Kit";
    homepage = http://www.arnoldarts.de/jackmix/;
    license = stdenv.lib.licenses.gpl2;
    maintainers = [ stdenv.lib.maintainers.kampfschlaefer ];
    platforms = stdenv.lib.platforms.linux;
  };
}