fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "mbpfan";
9 version = "2.4.0";
10 src = fetchFromGitHub {
11 owner = "dgraziotin";
12 repo = "mbpfan";
13 rev = "v${version}";
14 sha256 = "sha256-F9IWUcILOuLn5K4zRSU5jn+1Wk1xy0CONSI6JTXU2pA=";
15 };
16 installPhase = ''
17 mkdir -p $out/bin $out/etc
18 cp bin/mbpfan $out/bin
19 cp mbpfan.conf $out/etc
20 '';
21 meta = with lib; {
22 description = "Daemon that uses input from coretemp module and sets the fan speed using the applesmc module";
23 mainProgram = "mbpfan";
24 homepage = "https://github.com/dgraziotin/mbpfan";
25 license = licenses.gpl3;
26 platforms = platforms.linux;
27 maintainers = [ ];
28 };
29}