1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl, unzip, ... }:
stdenv.mkDerivation rec {
pname = "Hot";
version = "1.6.1";
buildInputs = [ unzip ];
sourceRoot = ".";
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p "$out/Applications"
cp -r Hot.app "$out/Applications/Hot.app"
'';
src = fetchurl {
name = "Hot-${version}.zip";
url = "https://github.com/macmade/Hot/releases/download/${version}/Hot.app.zip";
sha256 = "110qsfyszgnabpkfh4cspaigsmz577z1qvmhnm5jpqjzqmi0zbiy";
};
# meta = with stdenv.lib; {
# description = "Hot is macOS menu bar application that displays the CPU speed limit due to thermal issues.";
# homepage = "https://github.com/macmade/Hot";
# platforms = platforms.darwin;
# };
}