depot/third_party/nixpkgs/pkgs/by-name/it/itsycal/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

34 lines
846 B
Nix

{
lib,
fetchzip,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "itsycal";
version = "0.15.4";
src = fetchzip {
url = "https://itsycal.s3.amazonaws.com/Itsycal-${finalAttrs.version}.zip";
hash = "sha256-+Pi74xP5BcjhgtR3YCqJknl54wdNIU8ekEwQUaFp4T8=";
};
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 ];
};
})