summary refs log tree commit diff
path: root/pkgs/tools/audio/qastools/default.nix
blob: 3fe5b4b8d1a662d9901f4b3154ef083a790ffb76 (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
{ stdenv, fetchurl, cmake, alsaLib, udev, qt4 }:

let
  version = "0.18.1";
in

stdenv.mkDerivation {
  name = "qastools-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/qastools/qastools_${version}.tar.bz2";
    sha256 = "1sac6a0j1881wgpv4491b2f4jnhqkab6xyldmcg1wfqb5qkdgzvg";
  };

  buildInputs = [
    cmake alsaLib udev qt4
  ];

  cmakeFlags = [
    "-DCMAKE_INSALL_PREFIX=$out"
    "-DALSA_INCLUDE=${alsaLib.dev}/include/alsa/version.h"
  ];

  meta = with stdenv.lib; {
    description = "Collection of desktop applications for ALSA configuration";
    license = licenses.gpl3;
    platforms = platforms.linux;
  };
}