mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
54 lines
910 B
Nix
54 lines
910 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, fftw
|
|
, zita-convolver
|
|
, fftwFloat
|
|
, libsndfile
|
|
, ffmpeg
|
|
, alsa-lib
|
|
, libao
|
|
, libmad
|
|
, ladspaH
|
|
, libtool
|
|
, libpulseaudio
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "dsp";
|
|
version = "1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bmc0";
|
|
repo = "dsp";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY=";
|
|
};
|
|
|
|
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;
|
|
mainProgram = "dsp";
|
|
};
|
|
})
|