aldente: 1.24.1 -> 1.27.3

- also formatted with nixfmt-rfc-style
This commit is contained in:
Yifei Sun 2024-08-10 23:36:50 +09:00
parent cf4c21a3a2
commit 629b012e04
No known key found for this signature in database
GPG Key ID: D973170F9B86DB70
2 changed files with 16 additions and 11 deletions

View File

@ -1,16 +1,18 @@
{ lib
, stdenvNoCC
, fetchurl
, _7zz
{
lib,
stdenvNoCC,
fetchurl,
_7zz,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "aldente";
version = "1.24.1";
version = "1.27.3";
src = fetchurl {
url = "https://github.com/davidwernhart/aldente-charge-limiter/releases/download/${finalAttrs.version}/AlDente.dmg";
hash = "sha256-vOv52SrUki2f9vGzYy8dhVJVxna2ZvhtG6WbKjCv3gA=";
hash = "sha256-G6Kpfy1LE1VG/nTks4KU6doTKZeJT6gk6JtKmUEy6FI=";
};
dontBuild = true;
@ -30,13 +32,18 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "macOS tool to limit maximum charging percentage";
homepage = "https://apphousekitchen.com";
changelog = "https://github.com/davidwernhart/aldente-charge-limiter/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [ unfree ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
maintainers = with lib.maintainers; [ stepbrobd ];
platforms = [ "aarch64-darwin" "x86_64-darwin" ];
platforms = [
"aarch64-darwin"
"x86_64-darwin"
];
};
})

View File

@ -27239,8 +27239,6 @@ with pkgs;
acpitool = callPackage ../os-specific/linux/acpitool { };
aldente = callPackage ../os-specific/darwin/aldente { };
alfred = callPackage ../os-specific/linux/batman-adv/alfred.nix { };
alertmanager-irc-relay = callPackage ../servers/monitoring/alertmanager-irc-relay { };