uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/development/libraries/pcaudiolib/default.nix
Normal file
33
pkgs/development/libraries/pcaudiolib/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ config, stdenv, lib, fetchFromGitHub
|
||||
, autoconf, automake, which, libtool, pkg-config
|
||||
, portaudio, alsa-lib
|
||||
, pulseaudioSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pcaudiolib";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "espeak-ng";
|
||||
repo = "pcaudiolib";
|
||||
rev = version;
|
||||
sha256 = "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake which libtool pkg-config ];
|
||||
|
||||
buildInputs = [ portaudio ]
|
||||
++ lib.optionals stdenv.isLinux [ alsa-lib ]
|
||||
++ lib.optionals pulseaudioSupport [ libpulseaudio ];
|
||||
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Provides a C API to different audio devices";
|
||||
homepage = "https://github.com/espeak-ng/pcaudiolib";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ aske ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue