This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters