2016-10-21 17:09:49 +01:00
|
|
|
{ stdenv, fetchurl, cmake, alsaLib, udev, qtbase,
|
|
|
|
qtsvg, qttools, makeQtWrapper }:
|
2015-01-05 20:32:48 +00:00
|
|
|
|
|
|
|
let
|
2016-10-21 17:09:49 +01:00
|
|
|
version = "0.21.0";
|
2015-01-05 20:32:48 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "qastools-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-10-21 17:09:49 +01:00
|
|
|
url = "mirror://sourceforge/project/qastools/${version}/qastools_${version}.tar.bz2";
|
|
|
|
sha256 = "1zl9cn5h43n63yp3z1an87xvw554k9hlcz75ddb30lvpcczkmwrh";
|
2015-01-05 20:32:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2016-10-21 17:09:49 +01:00
|
|
|
cmake alsaLib udev qtbase qtsvg qttools makeQtWrapper
|
2015-01-05 20:32:48 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_INSALL_PREFIX=$out"
|
2015-10-08 10:23:19 +01:00
|
|
|
"-DALSA_INCLUDE=${alsaLib.dev}/include/alsa/version.h"
|
2015-01-05 20:32:48 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Collection of desktop applications for ALSA configuration";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|