2018-07-14 11:02:15 +02:00
|
|
|
{ stdenv, fetchurl, fetchpatch, cairo, expat, fftwSinglePrec, fluidsynth, glib
|
2016-09-11 23:24:51 +02:00
|
|
|
, gtk2, libjack2, ladspaH , libglade, lv2, pkgconfig }:
|
2012-07-05 23:29:45 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "calf-${version}";
|
2017-12-08 18:56:21 +01:00
|
|
|
version = "0.90.0";
|
2012-07-05 23:29:45 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://calf-studio-gear.org/files/${name}.tar.gz";
|
2017-12-08 18:56:21 +01:00
|
|
|
sha256 = "0dijv2j7vlp76l10s4v8gbav26ibaqk8s24ci74vrc398xy00cib";
|
2012-07-05 23:29:45 +02:00
|
|
|
};
|
|
|
|
|
2018-07-14 11:02:15 +02:00
|
|
|
patches = [
|
|
|
|
# Fix memory leak in limiter
|
|
|
|
# https://github.com/flathub/com.github.wwmm.pulseeffects/issues/12
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://github.com/calf-studio-gear/calf/commit/7afdefc0d0489a6227fd10f15843d81dc82afd62.patch;
|
|
|
|
sha256 = "056662iw6hp4ykwk4jyrzg5yarcn17ni97yc060y5kcnzy29ddg6";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-12-08 18:56:21 +01:00
|
|
|
buildInputs = [
|
2016-09-11 23:24:51 +02:00
|
|
|
cairo expat fftwSinglePrec fluidsynth glib gtk2 libjack2 ladspaH
|
2012-10-07 22:33:20 +02:00
|
|
|
libglade lv2 pkgconfig
|
|
|
|
];
|
2012-07-05 23:29:45 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-30 16:46:27 +02:00
|
|
|
homepage = http://calf-studio-gear.org;
|
2012-07-05 23:29:45 +02:00
|
|
|
description = "A set of high quality open source audio plugins for musicians";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2012-10-07 22:33:20 +02:00
|
|
|
platforms = platforms.linux;
|
2012-07-05 23:29:45 +02:00
|
|
|
};
|
|
|
|
}
|