1 { lib, stdenv, fetchFromGitHub, cmake, gtest, boost, gd, libsndfile, libmad, libid3tag }:
3 stdenv.mkDerivation rec {
4 pname = "audiowaveform";
7 src = fetchFromGitHub {
9 repo = "audiowaveform";
11 sha256 = "sha256-ZkkGRohcydi2C1S7J0+yGWsqK7ivxQmFuq1NGNiPPNY=";
14 nativeBuildInputs = [ cmake gtest ];
16 buildInputs = [ boost gd libsndfile libmad libid3tag ];
19 ln -s ${gtest.src} googletest
22 # One test is failing, see PR #101947
26 description = "C++ program to generate waveform data and render waveform images from audio files";
28 audiowaveform is a C++ command-line application that generates waveform data from either MP3, WAV, FLAC, or Ogg Vorbis format audio files.
29 Waveform data can be used to produce a visual rendering of the audio, similar in appearance to audio editing applications.
31 homepage = "https://github.com/bbc/audiowaveform";
32 changelog = "https://github.com/bbc/audiowaveform/blob/${version}/ChangeLog";
33 license = licenses.gpl3Plus;
34 platforms = platforms.all;
35 maintainers = with maintainers; [ edbentley ];