summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/cs/csa/package.nix
blob: c48c6c0c8f6b09b0f2d0f45fe335ab098249da19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  stdenv,
  fetchurl,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "csa";
  version = "0.5.100810";

  src = fetchurl {
    url = "mirror://sourceforge/csa/csa-${finalAttrs.version}.tar.gz";
    sha256 = "1syg81dzdil0dyx1mlx1n7if3qsf2iz243p2zv34a1acfqm509r3";
  };

  # after running either cellular leveler mono or stereo, the other stops working,
  # so we remove one of them:
  postInstall = "rm $out/lib/ladspa/celllm_3890.*";

  meta = {
    homepage = "https://sourceforge.net/projects/csa/";
    description = "Group of LADSPA Audio plugins for FM broadcast and more";
    longDescription = ''
      CSA means : Contrôle Signal Audio.
      It contains the following plugins:
      Emphasised Limiter, Cellular Leveler, Simple right/left amplifier. Blind Peak Meter.
    '';
    license = lib.licenses.gpl3;
    maintainers = [ lib.maintainers.magnetophon ];
    platforms = lib.platforms.unix;
  };
})