2018-07-14 10:02:15 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, cairo, expat, fftwSinglePrec, fluidsynth, glib
|
2016-09-11 22:24:51 +01:00
|
|
|
, gtk2, libjack2, ladspaH , libglade, lv2, pkgconfig }:
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "calf-${version}";
|
2017-12-08 17:56:21 +00:00
|
|
|
version = "0.90.0";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://calf-studio-gear.org/files/${name}.tar.gz";
|
2017-12-08 17:56:21 +00:00
|
|
|
sha256 = "0dijv2j7vlp76l10s4v8gbav26ibaqk8s24ci74vrc398xy00cib";
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
2018-07-14 10:02:15 +01: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 17:56:21 +00:00
|
|
|
buildInputs = [
|
2016-09-11 22:24:51 +01:00
|
|
|
cairo expat fftwSinglePrec fluidsynth glib gtk2 libjack2 ladspaH
|
2012-10-07 21:33:20 +01:00
|
|
|
libglade lv2 pkgconfig
|
|
|
|
];
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-30 15:46:27 +01:00
|
|
|
homepage = http://calf-studio-gear.org;
|
2012-07-05 22:29:45 +01:00
|
|
|
description = "A set of high quality open source audio plugins for musicians";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2012-10-07 21:33:20 +01:00
|
|
|
platforms = platforms.linux;
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
}
|