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

30 lines
752 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
2020-03-23 02:28:37 +00:00
stdenv.mkDerivation rec {
pname = "libinstpatch";
2021-01-29 05:38:10 +00:00
version = "1.1.6";
2020-03-23 02:28:37 +00:00
src = fetchFromGitHub {
owner = "swami";
repo = pname;
rev = "v${version}";
2021-01-29 05:38:10 +00:00
sha256 = "sha256-OU6/slrPDgzn9tvXZJKSWbcFbpS/EAsOi52FtjeYdvA=";
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 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
};
}