nixpkgs/pkgs/applications/audio/meterbridge/default.nix
2024-02-11 03:19:15 +01:00

29 lines
768 B
Nix

{ lib, stdenv, fetchurl, pkg-config, SDL, SDL_image, libjack2
}:
stdenv.mkDerivation rec {
version = "0.9.3";
pname = "meterbridge";
src = fetchurl {
url = "http://plugin.org.uk/meterbridge/${pname}-${version}.tar.gz";
sha256 = "0s7n3czfpil94vsd7iblv4xrck9c7zvsz4r3yfbkqcv85pjz1viz";
};
patches = [ ./buf_rect.patch ./fix_build_with_gcc-5.patch];
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ SDL SDL_image libjack2
];
meta = with lib; {
description = "Various meters (VU, PPM, DPM, JF, SCO) for Jack Audio Connection Kit";
homepage = "http://plugin.org.uk/meterbridge/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.nico202 ];
mainProgram = "meterbridge";
};
}