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.
32 lines
875 B
Nix
32 lines
875 B
Nix
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.0.0";
|
|
pname = "rtmidi";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thestk";
|
|
repo = "rtmidi";
|
|
rev = version;
|
|
sha256 = "1g31p6a96djlbk9jh5r4pjly3x76lhccva9hrw6xzdma8dsjzgyq";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ autoconf automake libtool libjack2 alsaLib ];
|
|
|
|
preConfigure = ''
|
|
./autogen.sh --no-configure
|
|
./configure
|
|
'';
|
|
|
|
meta = {
|
|
description = "A set of C++ classes that provide a cross platform API for realtime MIDI input/output";
|
|
homepage = "http://www.music.mcgill.ca/~gary/rtmidi/";
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
};
|
|
}
|