nixpkgs/pkgs/applications/audio/meterbridge/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

27 lines
708 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];
buildInputs =
[ pkg-config 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 ];
};
}