nixpkgs/pkgs/by-name/al/alsa-plugins/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
761 B
Nix
Raw Normal View History

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