3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/alsa-plugins/default.nix

26 lines
726 B
Nix
Raw Normal View History

2015-04-26 05:43:37 +01:00
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
stdenv.mkDerivation rec {
2019-04-11 21:46:35 +01:00
pname = "alsa-plugins";
2019-11-25 07:14:21 +00:00
version = "1.2.1";
src = fetchurl {
2019-04-11 21:46:35 +01:00
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
2019-11-25 07:14:21 +00:00
sha256 = "1nj8cpbi05rb62yzs01c1k7lymdn1ch229b599hbhd0psixdx52d";
};
# ToDo: a52, etc.?
buildInputs =
[ pkgconfig alsaLib libogg ]
2015-04-26 05:43:37 +01:00
++ lib.optional (libpulseaudio != null) libpulseaudio
++ lib.optional (libjack2 != null) libjack2;
meta = with lib; {
description = "Various plugins for ALSA";
homepage = http://alsa-project.org/;
license = licenses.lgpl21;
maintainers = [maintainers.marcweber];
platforms = platforms.linux;
};
}