![Matthew Bauer](/assets/img/avatar_default.png)
Lots of packages can use it. Here is the list: - jackmix - klick - mixx - nova-filters - rhvoice - giv - mypaint - swift-im - bombono - mapnik - serf - nuitka - pyexiv2 - godot - hammer - toluapp - btanks - dxx-rebirth - endless-sky - globulation - the-powder-toy - fceux - gpsd - mongodb - rippled - mariadb - lprof
32 lines
1.0 KiB
Nix
32 lines
1.0 KiB
Nix
{stdenv, fetchurl, scons, boost, ladspaH, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.2-2";
|
|
name = "nova-filters-${version}";
|
|
|
|
src = fetchurl {
|
|
url = https://klingt.org/~tim/nova-filters/nova-filters_0.2-2.tar.gz;
|
|
sha256 = "16064vvl2w5lz4xi3lyjk4xx7fphwsxc14ajykvndiz170q32s6i";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ scons boost ladspaH ];
|
|
|
|
patchPhase = ''
|
|
# remove TERM:
|
|
sed -i -e '4d' SConstruct
|
|
sed -i "s@mfpmath=sse@mfpmath=sse -I ${boost.dev}/include@g" SConstruct
|
|
sed -i "s@ladspa.h@${ladspaH}/include/ladspa.h@g" filters.cpp
|
|
sed -i "s@LADSPA_HINT_SAMPLE_RATE, 0, 0.5@LADSPA_HINT_SAMPLE_RATE, 0.0001, 0.5@g" filters.cpp
|
|
sed -i "s/= check/= detail::filter_base<internal_type, checked>::check/" nova/source/dsp/filter.hpp
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "LADSPA plugins based on filters of nova";
|
|
homepage = http://klingt.org/~tim/nova-filters/;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.magnetophon ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|