blob: d5c15ad3e38cc8b34d3de4c6d1f3cf657460ca41 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
stdenv.mkDerivation rec {
pname = "libinstpatch";
version = "1.1.3";
src = fetchFromGitHub {
owner = "swami";
repo = pname;
rev = "v${version}";
sha256 = "0ksilyszcm7mwb6m8qyrgalvh4h2vkyz7wzj0xczcqkj15bcl4lw";
};
nativeBuildInputs = [ cmake pkg-config ];
propagatedBuildInputs = [ glib libsndfile ]; # Both are needed for includes.
cmakeFlags = [
"-DLIB_SUFFIX=" # Install in $out/lib.
];
meta = with stdenv.lib; {
homepage = http://www.swamiproject.org/;
description = "MIDI instrument patch files support library";
license = licenses.lgpl21;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}
|