Files
nixpkgs/pkgs/by-name/os/osx-cpu-temp/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

32 lines
710 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "osx-cpu-temp";
version = "unstable-2020-12-04";
src = fetchFromGitHub {
name = "osx-cpu-temp-source";
owner = "lavoiesl";
repo = "osx-cpu-temp";
rev = "6ec951be449badcb7fb84676bbc2c521e600e844";
sha256 = "1nlibgr55bpln6jbdf8vqcp0fj9zv9343vflb7s9w0yh33fsbg9d";
};
installPhase = ''
mkdir -p $out/bin
cp osx-cpu-temp $out/bin
'';
meta = with lib; {
description = "Outputs current CPU temperature for OSX";
homepage = "https://github.com/lavoiesl/osx-cpu-temp";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ virusdave ];
platforms = platforms.darwin;
};
}