Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
postgres-app # Postgres
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
postgres-app # Postgres
];
} Package Definition
{
"pname": "postgres-app",
"version": "2.9.6,14-15-16-17-18",
"src": {
"url": "https://github.com/PostgresApp/PostgresApp/releases/download/v2.9.6/Postgres-2.9.6-14-15-16-17-18.dmg",
"sha256": "ee67776540fb0d29cbd119ea4db4cac3c182349ed53048fdf79766a588ac86b3"
},
"installPhase": [
"mkdir -p \"$out/Applications/Postgres.app\" && cp -r \"Postgres.app\" \"$out/Applications\""
],
"meta": {
"description": "App wrapper for Postgres",
"homepage": "https://postgresapp.com/"
}
}