about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/sonivox
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/sonivox')
-rw-r--r--nixpkgs/pkgs/development/libraries/sonivox/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/sonivox/default.nix b/nixpkgs/pkgs/development/libraries/sonivox/default.nix
new file mode 100644
index 000000000000..a4ee0dd71144
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/sonivox/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+  pname = "sonivox";
+  version = "3.6.11";
+
+  src = fetchFromGitHub {
+    owner = "pedrolcl";
+    repo = pname;
+    rev = "v${version}";
+    hash = "sha256-kCMY9A16g+CNNPn4PZ80QdEP6f58zCI3fQ1BFiK1ZQg=";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = with lib; {
+    homepage = "https://github.com/pedrolcl/sonivox";
+    description = "MIDI synthesizer library";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ orivej ];
+    platforms = platforms.linux;
+  };
+}