mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
9afce28a17
* itsycal: rfc format * itsycal: add meta.changelog * ityscal: 0.15.3 -> 0.15.4 Diff: https://github.com/sfsam/Itsycal/compare/0.15.3...0.15.4
35 lines
846 B
Nix
35 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 ];
|
|
};
|
|
})
|