Merge pull request #57918 from bobvanderlinden/alsa-oss-tools-1.1.8

This commit is contained in:
Dmitry Kalinkin 2019-04-12 17:58:41 -04:00 committed by GitHub
commit 1fc591f9a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

@ -1,10 +1,11 @@
{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate}:
stdenv.mkDerivation rec {
name = "alsa-oss-1.1.8";
pname = "alsa-oss";
version = "1.1.8";
src = fetchurl {
url = "mirror://alsa/oss-lib/${name}.tar.bz2";
url = "mirror://alsa/oss-lib/${pname}-${version}.tar.bz2";
sha256 = "13nn6n6wpr2sj1hyqx4r9nb9bwxnhnzw8r2f08p8v13yjbswxbb4";
};

@ -1,11 +1,12 @@
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
stdenv.mkDerivation rec {
name = "alsa-plugins-1.1.6";
pname = "alsa-plugins";
version = "1.1.8";
src = fetchurl {
url = "mirror://alsa/plugins/${name}.tar.bz2";
sha256 = "04qcwkisbh0d6lnh0rw1k6n869fbs6zbfq6yvb41rymiwgmk27bg";
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
sha256 = "152r82i6f97gfilfgiax5prxkd4xlcipciv8ha8yrk452qbxyxvz";
};
# ToDo: a52, etc.?
@ -14,6 +15,10 @@ stdenv.mkDerivation rec {
++ lib.optional (libpulseaudio != null) libpulseaudio
++ lib.optional (libjack2 != null) libjack2;
configureFlags = [
"--with-alsalconfdir=${placeholder "out"}/etc/alsa/conf.d"
];
meta = with lib; {
description = "Various plugins for ALSA";
homepage = http://alsa-project.org/;