Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ndm # ndm
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ndm # ndm
];
}
Package Definition
{
"pname": "ndm",
"version": "1.2.0",
"src": {
"url": "https://github.com/720kb/ndm/releases/download/v1.2.0/ndm-1.2.0.dmg",
"sha256": "7feea9270a35f5c3675abec49c6c38e83796f2a9c81040a190932d069e68a921"
},
"installPhase": [
"mkdir -p \"$out/Applications/ndm.app\" && cp -r \"ndm.app\" \"$out/Applications\""
],
"meta": {
"description": "Desktop manager for the Node.js Package Manager (NPM)",
"homepage": "https://720kb.github.io/ndm/"
}
}