Merge pull request #201693 from orivej/odin2

odin2: unstable-2022-02-23 -> 2.3.4
This commit is contained in:
Orivej Desh (NixOS) 2022-11-18 11:31:34 +00:00 committed by GitHub
commit 4c43ce2587
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,14 +18,14 @@
stdenv.mkDerivation rec {
pname = "odin2";
version = "unstable-2022-02-23";
version = "2.3.4";
src = fetchFromGitHub {
owner = "baconpaul";
owner = "TheWaveWarden";
repo = "odin2";
rev = "ed02d06cfb5db8a118d291c00bd2e4cd6e262cde";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-VkZ+mqCmqWQafdN0nQxJdPxbiaZ37/0jOhLvVbnGLvQ=";
sha256 = "sha256-N96Nb7G6hqfh8DyMtHbttl/fRZUkS8f2KfPSqeMAhHY=";
};
nativeBuildInputs = [
@ -62,10 +62,12 @@ stdenv.mkDerivation rec {
];
installPhase = ''
mkdir -p $out/bin $out/lib/vst3
mkdir -p $out/bin $out/lib/vst3 $out/lib/lv2 $out/lib/clap
cd Odin2_artefacts/Release
cp Standalone/Odin2 $out/bin
cp -r VST3/Odin2.vst3 $out/lib/vst3
cp -r Standalone/Odin2 $out/bin
cp -r LV2/Odin2.lv2 $out/lib/lv2
cp -r CLAP/Odin2.clap $out/lib/clap
'';