mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
42 lines
1.5 KiB
Nix
42 lines
1.5 KiB
Nix
{ stdenv, fetchurl }:
|
||
stdenv.mkDerivation rec {
|
||
name = "caps-${version}";
|
||
version = "0.9.24";
|
||
src = fetchurl {
|
||
url = "http://www.quitte.de/dsp/caps_${version}.tar.bz2";
|
||
sha256 = "081zx0i2ysw5nmy03j60q9j11zdlg1fxws81kwanncdgayxgwipp";
|
||
};
|
||
|
||
patches = [
|
||
(fetchurl {
|
||
url = "https://salsa.debian.org/multimedia-team/caps/raw/9a99c225/debian/patches/0001-Avoid-ambiguity-in-div-invocation.patch";
|
||
sha256 = "1b1pb5yfskiw8zi1lkj572l2ajpirh4amq538vggwvlpv1fqfway";
|
||
})
|
||
(fetchurl {
|
||
url = "https://salsa.debian.org/multimedia-team/caps/raw/a411203d/debian/patches/0002-Use-standard-exp10f-instead-of-pow10f.patch";
|
||
sha256 = "18ciklnscabr77l8b89xmbagkk79w4iqfpzr2yhn2ywv2jp8akx9";
|
||
})
|
||
];
|
||
|
||
configurePhase = ''
|
||
echo "PREFIX = $out" > defines.make
|
||
'';
|
||
|
||
meta = {
|
||
description = "A selection of LADSPA plugins implementing classic effects";
|
||
longDescription = ''
|
||
The C* Audio Plugin Suite is a selection of classic effects,
|
||
unique filters and signal generators. The digital guitarist
|
||
finds in CAPS a range of processors recreating key aspects of
|
||
the formation of tone in traditional electronic instrument
|
||
amplification. Beyond sound quality, central design
|
||
considerations are latency-free realtime operation, modesty of
|
||
resource demands and meaningful control interfaces.
|
||
'';
|
||
homepage = http://www.quitte.de/dsp/caps.html;
|
||
license = stdenv.lib.licenses.gpl3;
|
||
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
||
platforms = stdenv.lib.platforms.linux;
|
||
};
|
||
}
|