1 { lib, stdenv, fetchFromGitHub
5 stdenv.mkDerivation rec {
6 pname = "osx-cpu-temp";
7 version = "unstable-2020-12-04";
9 src = fetchFromGitHub rec {
10 name = "osx-cpu-temp-source";
13 rev = "6ec951be449badcb7fb84676bbc2c521e600e844";
14 sha256 = "1nlibgr55bpln6jbdf8vqcp0fj9zv9343vflb7s9w0yh33fsbg9d";
17 buildInputs = [ IOKit ];
21 cp osx-cpu-temp $out/bin
25 description = "Outputs current CPU temperature for OSX";
26 homepage = "https://github.com/lavoiesl/osx-cpu-temp";
27 license = licenses.gpl2Plus;
28 maintainers = with maintainers; [ virusdave ];
29 platforms = platforms.darwin;