From 2c2e44c9ff751bc2b67a222a1f6be1642b8e5957 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Mon, 28 Feb 2022 15:41:35 +0100 Subject: LibreArp: init at 2.2 --- pkgs/applications/audio/LibreArp/default.nix | 53 ++++++++++++++++++++++++++++ pkgs/applications/audio/LibreArp/lv2.nix | 53 ++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 pkgs/applications/audio/LibreArp/default.nix create mode 100644 pkgs/applications/audio/LibreArp/lv2.nix (limited to 'pkgs/applications/audio/LibreArp') diff --git a/pkgs/applications/audio/LibreArp/default.nix b/pkgs/applications/audio/LibreArp/default.nix new file mode 100644 index 000000000000..2374059e95a8 --- /dev/null +++ b/pkgs/applications/audio/LibreArp/default.nix @@ -0,0 +1,53 @@ +{ stdenv, lib, fetchFromGitLab, cmake, pkg-config, cairo, libxkbcommon +, xcbutilcursor, xcbutilkeysyms, xcbutil, libXrandr, libXinerama, libXcursor +, alsa-lib, libjack2, lv2, gcc-unwrapped, curl}: + +stdenv.mkDerivation rec { + pname = "LibreArp"; + version = "2.2"; + + src = fetchFromGitLab { + owner = "LibreArp"; + repo = "LibreArp"; + rev = version; + hash = "sha256-jCUT/sflO9L57xRTqNR90RbwJ0uZ+xJVXnB3n+FhWBo="; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ + cairo + libxkbcommon + xcbutilcursor + xcbutilkeysyms + xcbutil + libXrandr + libXinerama + libXcursor + alsa-lib + libjack2 + lv2 + curl + ]; + + cmakeFlags = [ + "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar" + "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib" + "-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm" + ]; + + installPhase = '' + mkdir -p $out/lib/vst3 + cd LibreArp_artefacts/Release + cp -r VST3/LibreArp.vst3 $out/lib/vst3 + ''; + + meta = with lib; { + description = + "A pattern-based arpeggio generator plugin."; + homepage = "https://librearp.gitlab.io/"; + license = licenses.gpl3Plus; + platforms = [ "x86_64-linux" ]; + maintainers = with maintainers; [ magnetophon ]; + }; +} diff --git a/pkgs/applications/audio/LibreArp/lv2.nix b/pkgs/applications/audio/LibreArp/lv2.nix new file mode 100644 index 000000000000..ce70fd112f2f --- /dev/null +++ b/pkgs/applications/audio/LibreArp/lv2.nix @@ -0,0 +1,53 @@ +{ stdenv, lib, fetchFromGitLab, cmake, pkg-config, cairo, libxkbcommon +, xcbutilcursor, xcbutilkeysyms, xcbutil, libXrandr, libXinerama, libXcursor +, alsa-lib, libjack2, lv2, gcc-unwrapped, curl}: + +stdenv.mkDerivation rec { + pname = "LibreArp-lv2"; + version = "2.2"; + + src = fetchFromGitLab { + owner = "LibreArp"; + repo = "LibreArp"; + rev = "${version}-lv2"; + hash = "sha256-j5SksuhC4ZXXILfOpwXNqIu5fO07a/6tiZ5qUo+p0Ug="; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ + cairo + libxkbcommon + xcbutilcursor + xcbutilkeysyms + xcbutil + libXrandr + libXinerama + libXcursor + alsa-lib + libjack2 + lv2 + curl + ]; + + cmakeFlags = [ + "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar" + "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib" + "-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm" + ]; + + installPhase = '' + mkdir -p $out/lib/lv2 + cd LibreArp_artefacts/Release + cp -r LV2/LibreArp.lv2 $out/lib/lv2 + ''; + + meta = with lib; { + description = + "A pattern-based arpeggio generator plugin."; + homepage = "https://librearp.gitlab.io/"; + license = licenses.gpl3Plus; + platforms = [ "x86_64-linux" ]; + maintainers = with maintainers; [ magnetophon ]; + }; +} -- cgit 1.4.1