2023-05-12 21:48:06 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
, pkg-config
|
|
|
|
, cairomm
|
|
|
|
, cmake
|
|
|
|
, lv2
|
|
|
|
, libpthreadstubs
|
|
|
|
, libXdmcp
|
|
|
|
, libXft
|
|
|
|
, ntk
|
|
|
|
, pcre
|
|
|
|
, fftwFloat
|
|
|
|
, zita-resampler
|
|
|
|
}:
|
2018-01-22 16:46:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "infamousPlugins";
|
2019-05-01 02:59:02 +00:00
|
|
|
version = "0.3.0";
|
2018-01-22 16:46:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ssj71";
|
|
|
|
repo = "infamousPlugins";
|
|
|
|
rev = "v${version}";
|
2019-05-01 02:59:02 +00:00
|
|
|
sha256 = "1r72agk5nxf5k0mghcc2j90z43j5d9i7rqjmf49jfyqnd443isip";
|
2018-01-22 16:46:40 +00:00
|
|
|
};
|
|
|
|
|
2020-06-05 11:13:25 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/ssj71/infamousPlugins/commit/06dd967b4736ea886dc1dc07f882cb1563961582.patch";
|
|
|
|
sha256 = "08xwh6px13y1gykaw103nhvjms7vgbgkcm0avh9f5d2d7aadq0l2";
|
|
|
|
})
|
2023-05-12 21:48:06 +00:00
|
|
|
|
|
|
|
# glibx-2.36 upstream fix: https://github.com/ssj71/infamousPlugins/pull/52
|
|
|
|
(fetchpatch {
|
|
|
|
name = "glibc-2.36.patch";
|
|
|
|
url = "https://github.com/ssj71/infamousPlugins/commit/eb4fd9af25362fdd006549c471f4cf0427816dd5.patch";
|
|
|
|
hash = "sha256-kBB2meQYVoVSTHIG77M8Fmeve87JBIUjpWCP6oiOkKI=";
|
|
|
|
})
|
2020-06-05 11:13:25 +00:00
|
|
|
];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2018-01-22 16:46:40 +00:00
|
|
|
buildInputs = [ cairomm lv2 libpthreadstubs libXdmcp libXft ntk pcre fftwFloat zita-resampler ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://ssj71.github.io/infamousPlugins";
|
2018-01-22 16:46:40 +00:00
|
|
|
description = "A 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 = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|