libsndfile: add some key reverse-dependencies to passthru.tests

This commit is contained in:
Robert Scott 2023-08-20 20:01:32 +01:00
parent 24a612e4e3
commit e371c0c300

View File

@ -1,6 +1,15 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, autogen, pkg-config, python3
, flac, lame, libmpg123, libogg, libopus, libvorbis
, alsa-lib, Carbon, AudioToolbox
# for passthru.tests
, audacity
, freeswitch
, gst_all_1
, libsamplerate
, moc
, pipewire
, pulseaudio
}:
stdenv.mkDerivation rec {
@ -41,6 +50,21 @@ stdenv.mkDerivation rec {
--replace '/usr/bin/env' "$(type -P env)"
'';
passthru.tests = {
inherit
audacity
freeswitch
libsamplerate
moc
pipewire
pulseaudio;
inherit (python3.pkgs)
soundfile
wavefile;
inherit (gst_all_1) gst-plugins-bad;
lame = (lame.override { sndfileFileIOSupport = true; });
};
meta = with lib; {
description = "A C library for reading and writing files containing sampled sound";
homepage = "https://libsndfile.github.io/libsndfile/";