Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
mathcha-notebook # Mathcha Notebook
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
mathcha-notebook # Mathcha Notebook
];
}
Package Definition
{
"pname": "mathcha-notebook",
"version": "1.0.450",
"src": {
"url": "https://notebook-downloads.mathcha.io/public/Mathcha%20Notebook-1.0.450-mac.zip",
"sha256": "c7959a2716e832eb32887c88a5a64a8f14ea39f4ab5a1146c0410db10b37f5a3"
},
"installPhase": [
"mkdir -p \"$out/Applications/Mathcha Notebook.app\" && cp -r \"Mathcha Notebook.app\" \"$out/Applications\""
],
"meta": {
"description": "Mathematics editor",
"homepage": "https://www.mathcha.io/"
}
}