Pianoteq
Pianoteq is a proprietary, commercial virtual instrument plugin that features physically modelled piano and other instruments.
Installation
Nixpkgs contains different editions of Pianoteq under pianoteq package sets. Since the binary for purchased product can only be downloaded after logging into Modartt's website, you need to pass the credentials to nix environment variables.
Add the following to your system configuration:
{
# Pass modartt credentials to nix environment variables to automatically download the binary
nix.envVars = {
NIX_MODARTT_USERNAME = "...";
NIX_MODARTT_PASSWORD = "...";
};
environment.systemPackages = with pkgs; [
# ...
# Pianoteq 8 Stage version
pianoteq.stage_8
# Pianoteq 8 Standard version
pianoteq.standard_8
];
}
Trial versions can also be installed, which don't require Modartt credentials:
{
environment.systemPackages = with pkgs; [
# ...
pianoteq.stage-trial_8
pianoteq.standard-trial_8
];
}
Manual Download
If you don't want the password exposed in the configuration file, or if situations don't make the above configuration work, you can manually download the binary from Modartt's website and override the pianoteq package to source the locally downloaded archive.
Download pianoteq_linux_{version}.7z from Modartt's website. Then, put the downloaded archive into nix store:
$ nix store add-file ./pianoteq_linux_v843.7z
Then add this to your system configuration:
{
environment.systemPackages = with pkgs; [
# ...
(pianoteq.standard_8.overrideAttrs {
version = "8.4.3";
src = pkgs.requireFile {
name = "pianoteq_linux_v843.7z";
url = "https://www.modartt.com/download";
sha256 = "sha256-72eV+d3jwRZJSs6I4e055ZrR/dvnhwAaM63eZEQAtOg=";
};
})
];
}
Adjust the version and hash value if necessary.