3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/audio/libinstpatch/default.nix

30 lines
755 B
Nix
Raw Normal View History

2020-03-23 02:28:37 +00:00
{ stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
stdenv.mkDerivation rec {
pname = "libinstpatch";
2020-04-09 05:54:15 +01:00
version = "1.1.4";
2020-03-23 02:28:37 +00:00
src = fetchFromGitHub {
owner = "swami";
repo = pname;
rev = "v${version}";
2020-04-09 05:54:15 +01:00
sha256 = "1v7mv43xxwrzi3agrc60agcw46jaidr8ql9kkm1w4jxkf4c6z6dz";
2020-03-23 02:28:37 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
propagatedBuildInputs = [ glib libsndfile ]; # Both are needed for includes.
cmakeFlags = [
"-DLIB_SUFFIX=" # Install in $out/lib.
];
meta = with stdenv.lib; {
2020-04-09 05:54:15 +01:00
homepage = "http://www.swamiproject.org/";
2020-03-23 02:28:37 +00:00
description = "MIDI instrument patch files support library";
license = licenses.lgpl21;
maintainers = with maintainers; [ orivej ];
2020-04-09 10:20:00 +01:00
platforms = platforms.unix;
2020-03-23 02:28:37 +00:00
};
}