nixpkgs/pkgs/by-name/it/itsycal/package.nix
2024-11-14 20:21:11 +02:00

35 lines
850 B
Nix

{
lib,
fetchzip,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "itsycal";
version = "0.15.5";
src = fetchzip {
url = "https://itsycal.s3.amazonaws.com/Itsycal-${finalAttrs.version}.zip";
hash = "sha256-kRO9zcyi8Di0NNuT158htKXt4wo7nVys+AV+1EgS1ZI=";
};
installPhase = ''
runHook preInstall
mkdir -p "$out/Applications/Itsycal.app"
cp -R . "$out/Applications/Itsycal.app"
runHook postInstall
'';
meta = {
changelog = "https://www.mowglii.com/itsycal/versionhistory.html";
description = "Itsycal is a tiny menu bar calendar";
homepage = "https://www.mowglii.com/itsycal/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ donteatoreo ];
platforms = lib.platforms.darwin;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
})