mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
42 lines
925 B
Nix
42 lines
925 B
Nix
{
|
|
lib,
|
|
fetchzip,
|
|
stdenvNoCC,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "itsycal";
|
|
version = "0.15.12";
|
|
|
|
src = fetchzip {
|
|
url = "https://itsycal.s3.amazonaws.com/Itsycal-${finalAttrs.version}.zip";
|
|
hash = "sha256-2Xu1ZQnNl0o2/AYOIjxZPDnc0TxMXrqKej7CCZEVV9I=";
|
|
stripRoot = false;
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p "$out/Applications"
|
|
cp -R Itsycal.app "$out/Applications/"
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = ./update.sh;
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://www.mowglii.com/itsycal/versionhistory.html";
|
|
description = "Tiny menu bar calendar";
|
|
homepage = "https://www.mowglii.com/itsycal/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
eclairevoyant
|
|
_4evy
|
|
];
|
|
platforms = lib.platforms.darwin;
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
})
|