Add diva demo
This commit is contained in:
parent
08bf6affb5
commit
0e1295d5c6
2 changed files with 49 additions and 0 deletions
|
@ -79,6 +79,8 @@ final: prev:
|
||||||
|
|
||||||
decentsampler = prev.callPackage ./decentsampler {};
|
decentsampler = prev.callPackage ./decentsampler {};
|
||||||
|
|
||||||
|
uhe-diva = prev.callPackage ./diva {};
|
||||||
|
|
||||||
#cardinal = prev.callPackage ./cardinal {};
|
#cardinal = prev.callPackage ./cardinal {};
|
||||||
|
|
||||||
# Originally from Mats Rauhala ®2018
|
# Originally from Mats Rauhala ®2018
|
||||||
|
|
47
pkgs/diva/default.nix
Normal file
47
pkgs/diva/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, autoPatchelfHook
|
||||||
|
, glib
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "diva";
|
||||||
|
version = "1.4.5";
|
||||||
|
|
||||||
|
src = fetchTarball {
|
||||||
|
url = "https://dl.u-he.com/releases/Diva_145_12092_Linux.tar.xz";
|
||||||
|
sha256 = "0wfwx3z80xbshl0d280d48fk1b0li992s5fv7rmlpd05gmfs6c84";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoPatchelfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
patchShebangs --build .
|
||||||
|
# Set dest dirs with sed, as all are not configurable
|
||||||
|
sed -i 's+HOME/\.+out/+' install.sh
|
||||||
|
sed -i 's+DIALOG=$PRODUCT/dialog+DIALOG=echo+' install.sh
|
||||||
|
# Remove cruft
|
||||||
|
rm Diva/dialog.64
|
||||||
|
'';
|
||||||
|
|
||||||
|
#buildPhase = ''
|
||||||
|
#'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
./install.sh --quiet --with-clap --without-32
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Dinosaur Impersonating Virtual Analogue synthesizer";
|
||||||
|
homepage = "https://u-he.com/products/diva/";
|
||||||
|
license = licenses.unfree;
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
maintainers = with maintainers; [ jpotier ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue