Skip to content

A Nix flake that installs Pianoteq7 on NixOS. (License key and binary are required and have to be acquired manually)

Notifications You must be signed in to change notification settings

qhga/nix-pianoteq7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Description

A nix flake that installs Pianoteq7 on nixos. The license key and binary are still required and have to be acquired manually from https://www.modartt.com/.

Usage

Right now, I am really new to NixOS and Nix so this might be an awkward way of installing a package. I might try to enhance this in the future and maybe even put it in the NUR.

  1. Download the pianoteq_linux_v754.7z file from https://www.modartt.com/
  2. Put pianoteq_linux_v754.7z into the nix store
nix-store --add-fixed sha256 ./pianoteq_linux_v754.7z
  1. In your main flake.nix file add the following line to your inputs
inputs = {
  #...
  pianoteq.url = "github:qhga/nix-pianoteq7";
  #...
};
  1. Use the following in order to install the package
environment.systemPackages = [
  #...
  pianoteq.packages.x86_64-linux.default
  #...
];

Add a new Version

  1. Download the new release from https://www.modartt.com/
  2. Get the new sha256 hash in sri format
nix hash to-sri --type sha256 `sha256sum pianoteq_linux_$NEW_VERSION.7z`
  1. Change the version numbers in the flake.nix file and adjust the sha256 hash
src = requireFile {
  name = "pianoteq_linux_$NEW_VERSION.7z";
  message = "Download the file from: https://www.modartt.com/download?file=pianoteq_linux_v754.7z and add it to the nix store manually: nix-store --add-fixed sha256 ./pianoteq_linux_v754.7z";
  sha256 = "$NEW_HASH";
};
  1. Put the new release 7z into the nix store
nix-store --add-fixed sha256 ./pianoteq_linux_$NEW_VERSION.7z

About

A Nix flake that installs Pianoteq7 on NixOS. (License key and binary are required and have to be acquired manually)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages