@@ -0,0 +1,28 @@
1+{ stdenv, fetchurl }:
2+
3+stdenv.mkDerivation rec {
4+ name = "csa-${version}";
5+ version = "0.5.100810";
6+
7+ src = fetchurl {
8+ url = "mirror://sourceforge/csa/${name}.tar.gz";
9+ sha256 = "1syg81dzdil0dyx1mlx1n7if3qsf2iz243p2zv34a1acfqm509r3";
10+ };
11+
12+ # after running either cellular leveler mono or stereo, the other stops working,
13+ # so we remove one of them:
14+ postInstall = "rm $out/lib/ladspa/celllm_3890.*";
15+
16+ meta = with stdenv.lib; {
17+ homepage = https://sourceforge.net/projects/csa/;
18+ description = "A group of LADSPA Audio plugins for FM broadcast and more";
19+ longDescription = ''
20+ CSA means : Contrôle Signal Audio.
21+ It contains the following plugins:
22+ Emphazised Limiter, Cellular Leveler, Simple right/left amplifier. Blind Peak Meter.
23+ '';
24+ license = licenses.gpl3;
25+ maintainers = [ maintainers.magnetophon ];
26+ platforms = platforms.linux;
27+ };
28+}