nixpkgs-suyu/pkgs/os-specific/linux/alsa-project/alsa-plugins/default.nix

28 lines
762 B
Nix
Raw Normal View History

{ stdenv, fetchurl, lib, pkg-config, alsa-lib, libogg, libpulseaudio ? null, libjack2 ? null }:
stdenv.mkDerivation rec {
2019-04-11 22:46:35 +02:00
pname = "alsa-plugins";
2021-06-10 01:22:08 +02:00
version = "1.2.5";
src = fetchurl {
2019-04-11 22:46:35 +02:00
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
2021-06-10 01:22:08 +02:00
sha256 = "086z2g2f95570vfvp9d5bakib4k18fb4bszf3lgx3j6j6f2gkvj2";
};
nativeBuildInputs = [ pkg-config ];
2020-03-07 23:09:49 +01:00
# ToDo: a52, etc.?
buildInputs =
[ alsa-lib libogg ]
2015-04-26 06:43:37 +02:00
++ lib.optional (libpulseaudio != null) libpulseaudio
++ lib.optional (libjack2 != null) libjack2;
meta = with lib; {
description = "Various plugins for ALSA";
2020-02-23 06:55:36 +01:00
homepage = "http://alsa-project.org/";
license = licenses.lgpl21;
maintainers = [ maintainers.marcweber ];
platforms = platforms.linux;
};
}