1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
3 stdenv.mkDerivation rec {
4 pname = "libinstpatch";
7 src = fetchFromGitHub {
11 sha256 = "sha256-OU6/slrPDgzn9tvXZJKSWbcFbpS/EAsOi52FtjeYdvA=";
14 nativeBuildInputs = [ cmake pkg-config ];
16 propagatedBuildInputs = [ glib libsndfile ]; # Both are needed for includes.
19 "-DLIB_SUFFIX=" # Install in $out/lib.
23 homepage = "http://www.swamiproject.org/";
24 description = "MIDI instrument patch files support library";
25 license = licenses.lgpl21;
26 maintainers = with maintainers; [ orivej ];
27 platforms = platforms.unix;