forked from mirrors/nixpkgs
LibreArp: init at 2.2
This commit is contained in:
parent
5661ca1a2d
commit
2c2e44c9ff
53
pkgs/applications/audio/LibreArp/default.nix
Normal file
53
pkgs/applications/audio/LibreArp/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
53
pkgs/applications/audio/LibreArp/lv2.nix
Normal file
53
pkgs/applications/audio/LibreArp/lv2.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -26625,6 +26625,10 @@ with pkgs;
|
|||
|
||||
libquvi = callPackage ../applications/video/quvi/library.nix { };
|
||||
|
||||
LibreArp = callPackage ../applications/audio/LibreArp { };
|
||||
|
||||
LibreArp-lv2 = callPackage ../applications/audio/LibreArp/lv2.nix { };
|
||||
|
||||
librespot = callPackage ../applications/audio/librespot {
|
||||
withALSA = stdenv.isLinux;
|
||||
withPulseAudio = config.pulseaudio or stdenv.isLinux;
|
||||
|
|
Loading…
Reference in a new issue