Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
73 lines
1.3 KiB
Nix
73 lines
1.3 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitLab,
|
|
cmake,
|
|
pkg-config,
|
|
cairo,
|
|
libxkbcommon,
|
|
xcbutilcursor,
|
|
xcbutilkeysyms,
|
|
xcbutil,
|
|
libXrandr,
|
|
libXinerama,
|
|
libXcursor,
|
|
alsa-lib,
|
|
libjack2,
|
|
lv2,
|
|
gcc-unwrapped,
|
|
curl,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "librearp";
|
|
version = "2.4";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "LibreArp";
|
|
repo = "LibreArp";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-jEpES68NuHhelUq/L46CxEeadk3LbuPZ72JaGDbw8fg=";
|
|
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 = "Pattern-based arpeggio generator plugin";
|
|
homepage = "https://librearp.gitlab.io/";
|
|
license = licenses.gpl3Plus;
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
};
|
|
})
|