16 stdenv.mkDerivation rec {
19 robtkVersion = "0.7.5";
21 nativeBuildInputs = [ pkg-config ];
33 src = fetchFromGitHub {
37 sha256 = "sha256-eGXTbE83bJEDqTBltL6ZX9qa/OotCFmUxpE/aLqGELU=";
40 robtkSrc = fetchFromGitHub {
43 rev = "v${robtkVersion}";
44 sha256 = "sha256-L1meipOco8esZl+Pgqgi/oYVbhimgh9n8p9Iqj3dZr0=";
48 rm -rf $sourceRoot/robtk/
49 ln -s ${robtkSrc} $sourceRoot/robtk
53 substituteInPlace Makefile --replace "-msse -msse2 -mfpmath=sse" ""
54 ''; # remove x86-specific flags
56 meter_VERSION = version;
57 enableParallelBuilding = true;
58 makeFlags = [ "PREFIX=${placeholder "out"}" ];
61 description = "Collection of audio level meters with GUI in LV2 plugin format";
62 mainProgram = "x42-meter";
63 homepage = "https://x42.github.io/meters.lv2/";
64 license = licenses.gpl2;
65 platforms = platforms.linux;