coconutbattery: 3.9.14 -> 4.0.2,152

This commit is contained in:
Yifei Sun 2025-04-03 19:51:45 -04:00
parent b16f158e1b
commit be58312bc6
No known key found for this signature in database

View file

@ -6,20 +6,15 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "coconutbattery";
version = "3.9.14";
version = "4.0.2,152";
src = fetchzip {
url = "https://coconut-flavour.com/downloads/coconutBattery_${
builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version
lib.replaceStrings [ "." "," ] [ "" "_" ] finalAttrs.version
}.zip";
hash = "sha256-zKSPKwDBwxlyNJFurCLLGtba9gpizJCjOOAd81vdD5Q=";
hash = "sha256-PNSDUp07lUx5ebcfM3WSJAfRQjeuIIy7KfY0KJ0i1AE=";
};
dontPatch = true;
dontConfigure = true;
dontBuild = true;
dontFixup = true;
installPhase = ''
runHook preInstall
@ -29,16 +24,16 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Standard for battery reading since 2005";
longDescription = ''
With coconutBattery you are always aware of your current battery health.
It shows you live information about the battery quality in your Mac, iPhone and iPad.
'';
homepage = "https://www.coconut-flavour.com/coconutbattery";
license = with licenses; [ unfree ];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
maintainers = with maintainers; [ stepbrobd ];
license = with lib.licenses; [ unfree ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
maintainers = with lib.maintainers; [ stepbrobd ];
platforms = [
"aarch64-darwin"
"x86_64-darwin"