2022-02-12 03:55:59 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, fftw
|
|
|
|
, zita-convolver
|
|
|
|
, fftwFloat
|
|
|
|
, libsndfile
|
|
|
|
, ffmpeg
|
|
|
|
, alsa-lib
|
|
|
|
, libao
|
|
|
|
, libmad
|
|
|
|
, ladspaH
|
|
|
|
, libtool
|
|
|
|
, libpulseaudio
|
|
|
|
}:
|
|
|
|
|
2023-09-23 05:01:30 +02:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-02-12 03:55:59 +01:00
|
|
|
pname = "dsp";
|
2022-07-07 11:37:16 +02:00
|
|
|
version = "1.9";
|
2022-02-12 03:55:59 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bmc0";
|
|
|
|
repo = "dsp";
|
2023-09-23 05:01:30 +02:00
|
|
|
rev = "v${finalAttrs.version}";
|
2023-01-24 13:55:52 +01:00
|
|
|
hash = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY=";
|
2022-02-12 03:55:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
fftw
|
|
|
|
zita-convolver
|
|
|
|
fftwFloat
|
|
|
|
libsndfile
|
|
|
|
ffmpeg
|
|
|
|
alsa-lib
|
|
|
|
libao
|
|
|
|
libmad
|
|
|
|
ladspaH
|
|
|
|
libtool
|
|
|
|
libpulseaudio
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/bmc0/dsp";
|
|
|
|
description = "An audio processing program with an interactive mode";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ aaronjheng ];
|
2023-09-23 05:01:30 +02:00
|
|
|
platforms = platforms.linux;
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "dsp";
|
2022-02-12 03:55:59 +01:00
|
|
|
};
|
2023-09-23 05:01:30 +02:00
|
|
|
})
|