Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
libinstpatch: init at 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Mar 23, 2020
1 parent fa456f4 commit f4c1549
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/development/libraries/audio/libinstpatch/default.nix
@@ -0,0 +1,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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -13067,6 +13067,8 @@ in

libinput-gestures = callPackage ../tools/inputmethods/libinput-gestures {};

libinstpatch = callPackage ../development/libraries/audio/libinstpatch { };

libisofs = callPackage ../development/libraries/libisofs { };

libisoburn = callPackage ../development/libraries/libisoburn { };
Expand Down

0 comments on commit f4c1549

Please sign in to comment.