1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/audio/qastools/default.nix
2017-06-18 08:44:42 -05:00

30 lines
688 B
Nix

{ 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;
};
}