nixpkgs/pkgs/tools/audio/qastools/default.nix

30 lines
688 B
Nix
Raw Normal View History

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