Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
hackmd # HackMD
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
hackmd # HackMD
];
} Package Definition
{
"pname": "hackmd",
"version": "0.1.0",
"src": {
"url": "https://github.com/hackmdio/hackmd-desktop/releases/download/v0.1.0/HackMD-0.1.0.dmg",
"sha256": "681051aa8a89ce2f3a0b2c374fa8d3d6dbf43be7464307749ff029df7c4eed7a"
},
"installPhase": [
"mkdir -p \"$out/Applications/HackMD.app\" && cp -r \"HackMD.app\" \"$out/Applications\""
],
"meta": {
"description": "Desktop Software for HackMD Note-Taking and Collaboration",
"homepage": "https://github.com/hackmdio/hackmd-desktop"
}
}