summary refs log tree commit diff
path: root/pkgs/tools/audio/qastools/default.nix
blob: d86a0b09c269fc74c5970a30e07b9ec062cd2f92 (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
{ mkDerivation, lib, fetchurl, cmake, alsaLib, udev, qtbase, qtsvg, qttools }:

let
  version = "0.21.0";
in

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

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

  buildInputs = [
    alsaLib udev qtbase qtsvg qttools
  ];
  nativeBuildInputs = [ cmake ];

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

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