15 stdenv.mkDerivation rec {
18 robtkVersion = "0.7.5";
20 nativeBuildInputs = [ pkg-config ];
21 buildInputs = [ lv2 libGLU libGL gtk2 cairo pango fftwFloat libjack2 ];
23 src = fetchFromGitHub {
27 sha256 = "sha256-eGXTbE83bJEDqTBltL6ZX9qa/OotCFmUxpE/aLqGELU=";
30 robtkSrc = fetchFromGitHub {
33 rev = "v${robtkVersion}";
34 sha256 = "sha256-L1meipOco8esZl+Pgqgi/oYVbhimgh9n8p9Iqj3dZr0=";
38 rm -rf $sourceRoot/robtk/
39 ln -s ${robtkSrc} $sourceRoot/robtk
43 substituteInPlace Makefile --replace "-msse -msse2 -mfpmath=sse" ""
44 ''; # remove x86-specific flags
46 meter_VERSION = version;
47 enableParallelBuilding = true;
48 makeFlags = [ "PREFIX=${placeholder "out"}" ];
51 description = "Collection of audio level meters with GUI in LV2 plugin format";
52 mainProgram = "x42-meter";
53 homepage = "https://x42.github.io/meters.lv2/";
54 license = licenses.gpl2;
55 platforms = platforms.linux;