1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

pcaudiolib: init at 2016-07-19

This commit is contained in:
aske 2016-09-05 02:32:31 +03:00
parent 5b61020e05
commit d6936f47db
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, lib, fetchFromGitHub, autoconf, automake, which, libtool, pkgconfig,
alsaLib, portaudio,
pulseaudioSupport ? true, libpulseaudio }:
stdenv.mkDerivation rec {
name = "pcaudiolib-${version}";
version = "2016-07-19";
src = fetchFromGitHub {
owner = "rhdunn";
repo = "pcaudiolib";
rev = "4f836ea909bdaa8a6e0e89c587efc745b546b459";
sha256 = "0z99nh4ibb9md2cd21762n1dmv6jk988785s1cxd8lsy4hp4pwfa";
};
nativeBuildInputs = [ autoconf automake which libtool pkgconfig ];
buildInputs = [ portaudio alsaLib ] ++ lib.optional pulseaudioSupport libpulseaudio;
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {
description = "Provides a C API to different audio devices";
homepage = "https://github.com/rhdunn/pcaudiolib";
license = licenses.gpl3;
maintainers = with maintainers; [ aske ];
platforms = platforms.linux;
};
}

View file

@ -9015,6 +9015,10 @@ in
pangoxsl = callPackage ../development/libraries/pangoxsl { };
pcaudiolib = callPackage ../development/libraries/pcaudiolib {
pulseaudioSupport = config.pulseaudio or true;
};
pcg_c = callPackage ../development/libraries/pcg-c { };
pcl = callPackage ../development/libraries/pcl {