From a9c48c845f49da8b2519f44db6a253726ee1f3f9 Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Tue, 23 Feb 2021 12:53:25 +0200 Subject: [PATCH] Add patchmatrix --- pkgs/default.nix | 2 ++ pkgs/patchmatrix/default.nix | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 pkgs/patchmatrix/default.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index 5b76a27..080d3e9 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -27,6 +27,8 @@ self: super: vim-samae = super.callPackage ./vim {}; + patchmatrix-samae = super.callPackage ./patchmatrix {}; + reaper-samae = super.callPackage ./reaper {}; mopidy-mpd-samae = super.callPackage ./mopidy-mpd {}; diff --git a/pkgs/patchmatrix/default.nix b/pkgs/patchmatrix/default.nix new file mode 100644 index 0000000..fcc93c0 --- /dev/null +++ b/pkgs/patchmatrix/default.nix @@ -0,0 +1,48 @@ +{ lib +, stdenv +, fetchFromGitHub +, meson +, ninja +, pkg-config +, glew +, libjack2 +, lv2 +, libX11 +, libXext +}: + +stdenv.mkDerivation rec { + pname = "patchmatrix"; + version = "0.22.0"; + + src = fetchFromGitHub { + owner = "OpenMusicKontrollers"; + repo = pname; + rev = version; + sha256 = "1hkbnrg518gmjd8xbsdd0bjp0qxvaq4d0svj3chmvpgdwsn53glr"; + }; + + nativeBuildInputs = [ + meson ninja pkg-config + ]; + + buildInputs = [ + glew libjack2 lv2 libX11 libXext + ]; + + meta = with lib; { + homepage = "https://github.com/OpenMusicKontrollers/patchmatrix"; + description = "A JACK patchbay in a flow matrix style"; + longDescription = '' + A simple graphical JACK patchbay that tries to unite the best of both + worlds: + - Fast patching and uncluttered port representation of a matrix patchbay + - Excellent representation of signal flow of a flow canvas patchbay + It additionally features tightly embedded graphical mixer clients + automatable with JACK MIDI/OSC. + ''; + license = licenses.artistic2; + maintainers = [ maintainers.jpotier ]; + platforms = platforms.linux; + }; +}