uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
31
pkgs/os-specific/darwin/osx-cpu-temp/default.nix
Normal file
31
pkgs/os-specific/darwin/osx-cpu-temp/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, IOKit
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "osx-cpu-temp";
|
||||
version = "unstable-2020-12-04";
|
||||
|
||||
src = fetchFromGitHub rec {
|
||||
name = "osx-cpu-temp-source";
|
||||
owner = "lavoiesl";
|
||||
repo = pname;
|
||||
rev = "6ec951be449badcb7fb84676bbc2c521e600e844";
|
||||
sha256 = "1nlibgr55bpln6jbdf8vqcp0fj9zv9343vflb7s9w0yh33fsbg9d";
|
||||
};
|
||||
|
||||
buildInputs = [ IOKit ];
|
||||
|
||||
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.gpl2;
|
||||
maintainers = with maintainers; [ virusdave ];
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue