nixpkgs/pkgs/tools/audio/dsp/default.nix
2022-05-10 11:52:43 +00:00

53 lines
886 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, fftw
, zita-convolver
, fftwFloat
, libsndfile
, ffmpeg
, alsa-lib
, libao
, libmad
, ladspaH
, libtool
, libpulseaudio
}:
stdenv.mkDerivation rec {
pname = "dsp";
version = "1.8";
src = fetchFromGitHub {
owner = "bmc0";
repo = "dsp";
rev = "v${version}";
sha256 = "sha256-LTgjpzAGi3oL8l5NcJj1ortKFd3vWDfXHr8YyedAxEE=";
};
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 ];
platforms = platforms.linux ++ platforms.darwin;
};
}