mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
There isn't really an upstream package name since this header file is normally just part of ladspa-sdk. ladspa-header seems like a more fitting name for this package. Could also be ladspa-sdk-header, but there are also probably other headers than ladspa.h in ladspa-sdk.
55 lines
938 B
Nix
55 lines
938 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
fftw,
|
|
zita-convolver,
|
|
fftwFloat,
|
|
libsndfile,
|
|
ffmpeg,
|
|
alsa-lib,
|
|
libao,
|
|
libmad,
|
|
ladspa-header,
|
|
libtool,
|
|
libpulseaudio,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "dsp";
|
|
version = "2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bmc0";
|
|
repo = "dsp";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-WUH4+5v1wv6EXTOuRq9iVVZsXMt5DVrtgX8vLE7a8s8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
fftw
|
|
zita-convolver
|
|
fftwFloat
|
|
libsndfile
|
|
ffmpeg
|
|
alsa-lib
|
|
libao
|
|
libmad
|
|
ladspa-header
|
|
libtool
|
|
libpulseaudio
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/bmc0/dsp";
|
|
description = "Audio processing program with an interactive mode";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ aaronjheng ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "dsp";
|
|
};
|
|
})
|