mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
coconutbattery: 3.9.14 -> 4.0.2,152
This commit is contained in:
parent
b16f158e1b
commit
be58312bc6
1 changed files with 7 additions and 12 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue