nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 cairo,
5 expat,
6 fftwSinglePrec,
7 fluidsynth,
8 glib,
9 gtk2,
10 libjack2,
11 ladspaH,
12 gnome2,
13 lv2,
14 pkg-config,
15 fetchFromGitHub,
16 cmake,
17}:
18stdenv.mkDerivation rec {
19 pname = "calf";
20 version = "0.90.6";
21
22 src = fetchFromGitHub {
23 owner = "calf-studio-gear";
24 repo = "calf";
25 tag = version;
26 hash = "sha256-rcMuQFig6BrnyGFyvYaAHmOvabEHGl+1lMNfffLHn1w=";
27 };
28
29 outputs = [
30 "out"
31 "doc"
32 ];
33
34 enableParallelBuilding = true;
35
36 nativeBuildInputs = [
37 cmake
38 pkg-config
39 ];
40
41 buildInputs = [
42 cairo
43 expat
44 fftwSinglePrec
45 fluidsynth
46 glib
47 gtk2
48 libjack2
49 ladspaH
50 gnome2.libglade
51 lv2
52 ];
53
54 meta = {
55 homepage = "https://calf-studio-gear.org";
56 description = "Set of high quality open source audio plugins for musicians";
57 license = lib.licenses.lgpl2;
58 maintainers = [ ];
59 platforms = lib.platforms.linux;
60 mainProgram = "calfjackhost";
61 };
62}