1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 lv2,
7 zita-resampler,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "tamgamp.lv2";
12 version = "unstable-2020-06-14";
13
14 src = fetchFromGitHub {
15 owner = "sadko4u";
16 repo = pname;
17 rev = "426da74142fcb6b7687a35b2b1dda3392e171b92";
18 sha256 = "0dqsnim7v79rx13bkkh143gqz0xg26cpf6ya3mrwwprpf5hns2bp";
19 };
20
21 nativeBuildInputs = [ pkg-config ];
22
23 buildInputs = [
24 lv2
25 zita-resampler
26 ];
27
28 makeFlags = [ "PREFIX=$(out)" ];
29
30 enableParallelBuilding = true;
31
32 meta = with lib; {
33 homepage = "https://github.com/sadko4u/tamgamp.lv2";
34 description = "Guitar amplifier simulator";
35 longDescription = ''
36 Tamgamp (Pronouncement: "Damage Amp") is an LV2 guitar amp simulator that provides two plugins:
37
38 - Tamgamp - a plugin based on Guitarix DK Builder simulated chains.
39 - TamgampGX - a plugin based on tuned Guitarix internal amplifiers implementation.
40
41 The reference to the original Guitarix project: https://guitarix.org/
42
43 It simulates the set of the following guitar amplifiers:
44
45 - Fender Princeton Reverb-amp AA1164 (without reverb module)
46 - Fender Twin Reverb-Amp AA769 (Normal channel, bright off)
47 - Fender Twin Reverb-Amp AA769 (Vibrato channel, bright on)
48 - Marshall JCM-800 High-gain input
49 - Marshall JCM-800 Low-gain input
50 - Mesa/Boogie DC3 preamplifier (lead channel)
51 - Mesa/Boogie DC3 preamplifier (rhythm channel)
52 - Mesa Dual Rectifier preamplifier (orange channel, less gain)
53 - Mesa Dual Rectifier preamplifier (red channel, more gain)
54 - Peavey 5150II crunch channel
55 - Peavey 5150II lead channel
56 - VOX AC-30 Brilliant channel
57 - VOX AC-30 normal channel
58 '';
59 maintainers = [ maintainers.magnetophon ];
60 platforms = platforms.linux;
61 license = licenses.lgpl3Plus;
62 };
63}