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

30 lines
642 B
Nix
Raw Normal View History

2016-04-17 00:52:16 +01:00
{ stdenv, fetchurl, cmake, alsaLib, udev, qt4 }:
2015-01-05 20:32:48 +00:00
let
version = "0.18.1";
in
stdenv.mkDerivation {
name = "qastools-${version}";
src = fetchurl {
url = "mirror://sourceforge/qastools/qastools_${version}.tar.bz2";
sha256 = "1sac6a0j1881wgpv4491b2f4jnhqkab6xyldmcg1wfqb5qkdgzvg";
};
buildInputs = [
2016-04-17 00:52:16 +01:00
cmake alsaLib udev qt4
2015-01-05 20:32:48 +00:00
];
cmakeFlags = [
"-DCMAKE_INSALL_PREFIX=$out"
"-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;
};
}