Files

76 lines
2.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
cairomm,
cmake,
lv2,
libpthread-stubs,
libxdmcp,
libxft,
ntk,
fftwFloat,
zita-resampler,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "infamousplugins";
version = "0.3.2";
src = fetchFromGitHub {
owner = "ssj71";
repo = "infamousPlugins";
rev = "v${finalAttrs.version}";
sha256 = "sha256-AhW4hLmCxz7yHMdxM6kOvtCXk1jEg/XtyPgt4yk1xqs=";
};
nativeBuildInputs = [
pkg-config
cmake
];
buildInputs = [
cairomm
lv2
libpthread-stubs
libxdmcp
libxft
ntk
fftwFloat
zita-resampler
];
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
'cmake_minimum_required(VERSION 2.8)' \
'cmake_minimum_required(VERSION 4.0)'
find src -name "CMakeLists.txt" -type f | while read -r file; do
substituteInPlace "$file" --replace-fail \
'cmake_minimum_required(VERSION 2.8)' \
'cmake_minimum_required(VERSION 4.0)'
done
'';
meta = {
homepage = "https://ssj71.github.io/infamousPlugins";
description = "Collection of open-source LV2 plugins";
longDescription = ''
These are audio plugins in the LV2 format, developed for linux. Most are suitable for live use.
This collection contains:
* Cellular Automaton Synth - additive synthesizer, where 16 harmonics are added according to rules of elementary cellular automata
* Envelope Follower - a fully featured envelope follower plugin
* Hip2B - a distortion/destroyer plugin
* cheap distortion - another distortion plugin, but this one I wanted to get it as light as possible
* stuck - a clone of the electro-harmonix freeze
* power cut - this effect is commonly called tape stop
* power up - the opposite of the power cut
* ewham - a whammy style pitchshifter
* lushlife - a simulated double tracking plugin capable of everything from a thin beatle effect to thick lush choruses to weird outlandish effects
'';
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
mainProgram = "infamous-rule";
};
})