Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
hp-prime # HP Prime
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
hp-prime # HP Prime
];
} Package Definition
{
"pname": "hp-prime",
"version": "2020-01-16",
"src": {
"url": "https://ftp.hp.com/pub/calculators/Prime/HP_Prime_Virtual_Calculator_2020_01_16.dmg",
"sha256": "d29067ff767a7ad8b6fc565bed8ccf39edf386be3e7fc0ca5290670cd346911d"
},
"installPhase": [
"mkdir -p \"$out/Applications/HP Prime.app\" && cp -r \"HP Prime.app\" \"$out/Applications\""
],
"meta": {
"description": "Graphing calculator emulator",
"homepage": "https://www.hp.com/us-en/calculators.html"
}
}