1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/tools/audio/qastools/default.nix
2015-01-07 15:43:01 +00:00

30 lines
636 B
Nix

{ stdenv, fetchurl, cmake, alsaLib, udev, qt }:
let
version = "0.18.1";
in
stdenv.mkDerivation {
name = "qastools-${version}";
src = fetchurl {
url = "mirror://sourceforge/qastools/qastools_${version}.tar.bz2";
sha256 = "1sac6a0j1881wgpv4491b2f4jnhqkab6xyldmcg1wfqb5qkdgzvg";
};
buildInputs = [
cmake alsaLib udev qt
];
cmakeFlags = [
"-DCMAKE_INSALL_PREFIX=$out"
"-DALSA_INCLUDE=${alsaLib}/include/alsa/version.h"
];
meta = with stdenv.lib; {
description = "Collection of desktop applications for ALSA configuration";
license = licenses.gpl3;
platforms = platforms.linux;
};
}