Skip to content

Instantly share code, notes, and snippets.

@magnetophon
Created February 24, 2021 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magnetophon/5d08003ea9df7362f31356cdf2a1f66a to your computer and use it in GitHub Desktop.
Save magnetophon/5d08003ea9df7362f31356cdf2a1f66a to your computer and use it in GitHub Desktop.
{
stdenv
, alsaLib
, curl
, fetchFromGitHub
, freetype
, glib
, libGL
, libgcc
, libglvnd
, libsecret
, pkg-config
, libjack2
, libX11
, libXrandr
, libXinerama
, libXext
, libXcursor
}:
stdenv.mkDerivation rec {
pname = "vitalium";
version = "unstable-2021-02-24";
src = fetchFromGitHub {
owner = "Be-ing";
repo = "vital";
rev = "adfe8804c943a5124fc9990c1341b2ca37457c6c";
sha256 = "0lv2lw9iyjbl9k1n6pnwb8m200iw7bald4xi5nh4wf07i389674h";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
alsaLib
curl
freetype
glib
libGL
libgcc
libglvnd
libsecret
libjack2
libX11
libXrandr
libXinerama
libXext
libXcursor
];
# makeFlags = [ "standalone vst3 lv2 effects_lv2 effects_vst3" ];
# installPhase = ''
# make install_standalone install_lv2 install_effects_lv2 install_vst3 install_effects_vst3
# '';
makeFlags = [ "lv2" "DESTDIR=$(out)" ];
# makeFlags = [ "standalone lv2" "DESTDIR=$(out)" ];
# installFlags = [ "DESTDIR=$(out)" ];
installPhase = ''
make install_lv2 DESTDIR=$(out)
'';
# installPhase = ''
# mkdir -p $out/lib/vst3
# cp -r stochas_artefacts/Release/VST3/Stochas.vst3 $out/lib/vst3
# '';
meta = with stdenv.lib; {
description = "Spectral warping wavetable synth";
homepage = "https://github.com/mtytel/vital";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ magnetophon ];
platforms = platforms.all;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment