python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / audio / libinstpatch / default.nix
blob670dee26b2bf7ea33cf1f1a3bfe63204c2a0ff8d
1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
3 stdenv.mkDerivation rec {
4   pname = "libinstpatch";
5   version = "1.1.6";
7   src = fetchFromGitHub {
8     owner = "swami";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-OU6/slrPDgzn9tvXZJKSWbcFbpS/EAsOi52FtjeYdvA=";
12   };
14   nativeBuildInputs = [ cmake pkg-config ];
16   propagatedBuildInputs = [ glib libsndfile ]; # Both are needed for includes.
18   cmakeFlags = [
19     "-DLIB_SUFFIX=" # Install in $out/lib.
20   ];
22   meta = with 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;
28   };