Merge pull request #180863 from AndersonTorres/MISC

pcaudiolib: 1.1 -> 1.2

authored by

Anderson Torres and committed by
GitHub
08e93dbc 5d3aac18

+39 -19
+39 -19
pkgs/development/libraries/pcaudiolib/default.nix
··· 1 - { config, stdenv, lib, fetchFromGitHub 2 - , autoconf, automake, which, libtool, pkg-config 3 - , portaudio, alsa-lib 4 - , pulseaudioSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio }: 5 6 - stdenv.mkDerivation rec { 7 pname = "pcaudiolib"; 8 - version = "1.1"; 9 10 src = fetchFromGitHub { 11 owner = "espeak-ng"; 12 - repo = "pcaudiolib"; 13 - rev = version; 14 - sha256 = "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0"; 15 }; 16 17 - nativeBuildInputs = [ autoconf automake which libtool pkg-config ]; 18 19 - buildInputs = [ portaudio ] 20 - ++ lib.optionals stdenv.isLinux [ alsa-lib ] 21 - ++ lib.optionals pulseaudioSupport [ libpulseaudio ]; 22 23 - preConfigure = "./autogen.sh"; 24 25 meta = with lib; { 26 - broken = stdenv.isDarwin; 27 - description = "Provides a C API to different audio devices"; 28 homepage = "https://github.com/espeak-ng/pcaudiolib"; 29 - license = licenses.gpl3; 30 maintainers = with maintainers; [ aske ]; 31 - platforms = platforms.all; 32 }; 33 - }
··· 1 + { config 2 + , lib 3 + , stdenv 4 + , fetchFromGitHub 5 + , alsa-lib 6 + , autoconf 7 + , automake 8 + , libpulseaudio 9 + , libtool 10 + , pkg-config 11 + , portaudio 12 + , which 13 + , pulseaudioSupport ? config.pulseaudio or stdenv.isLinux 14 + }: 15 16 + stdenv.mkDerivation (finalAttrs: { 17 pname = "pcaudiolib"; 18 + version = "1.2"; 19 20 src = fetchFromGitHub { 21 owner = "espeak-ng"; 22 + repo = finalAttrs.pname; 23 + rev = finalAttrs.version; 24 + hash = "sha256-ZG/HBk5DHaZP/H3M01vDr3M2nP9awwsPuKpwtalz3EE="; 25 }; 26 27 + nativeBuildInputs = [ 28 + autoconf 29 + automake 30 + libtool 31 + pkg-config 32 + which 33 + ]; 34 35 + buildInputs = [ 36 + portaudio 37 + ] 38 + ++ lib.optional stdenv.isLinux alsa-lib 39 + ++ lib.optional pulseaudioSupport libpulseaudio; 40 41 + preConfigure = '' 42 + ./autogen.sh 43 + ''; 44 45 meta = with lib; { 46 homepage = "https://github.com/espeak-ng/pcaudiolib"; 47 + description = "Provides a C API to different audio devices"; 48 + license = licenses.gpl3Plus; 49 maintainers = with maintainers; [ aske ]; 50 + platforms = platforms.unix; 51 + badPlatforms = platforms.darwin; 52 }; 53 + })