Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
gcollazo-mongodb # MongoDB
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
gcollazo-mongodb # MongoDB
];
}
Package Definition
{
"pname": "gcollazo-mongodb",
"version": "8.0.5-build.1",
"src": {
"url": "https://github.com/gcollazo/mongodbapp/releases/download/8.0.5-build.1/MongoDB.zip",
"sha256": "bc545179d510b4fc80ac9866d34228faa7153137eea8f5ebcac957abf9d3ef89"
},
"installPhase": [
"mkdir -p \"$out/Applications/MongoDB.app\" && cp -r \"MongoDB.app\" \"$out/Applications\""
],
"meta": {
"description": "App wrapper for MongoDB",
"homepage": "https://gcollazo.com/mongodb-app/"
}
}