Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
timestamp # Timestamp
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
timestamp # Timestamp
];
} Package Definition
{
"pname": "timestamp",
"version": "1.0.1",
"src": {
"url": "https://github.com/mzdr/timestamp/releases/download/1.0.1/Timestamp-1.0.1-mac.zip",
"sha256": "b8062b283ed80f62267e50a4486a8610b7d59cd60d6697ad018c9aae97d478bb"
},
"installPhase": [
"mkdir -p \"$out/Applications/Timestamp.app\" && cp -r \"Timestamp.app\" \"$out/Applications\""
],
"meta": {
"description": "Improved clock for the menu bar",
"homepage": "https://mzdr.github.io/timestamp/"
}
}