Merge pull request #296701 from stepbrobd/aldente

aldente: 1.24.1 -> 1.27.3
This commit is contained in:
Peder Bergebakken Sundt 2024-08-15 22:38:48 +02:00 committed by GitHub
commit 4d27ef4708
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 11 deletions

View File

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

View File

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