fan2go: init at 0.8.0

+33
+31
pkgs/os-specific/linux/fan2go/default.nix
··· 1 + { buildGoModule, fetchFromGitHub, lib, lm_sensors }: 2 + 3 + buildGoModule rec { 4 + pname = "fan2go"; 5 + version = "0.8.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "markusressel"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "3pnJaLD+FEQWAAwIiTkcs9VgqO0JwRaK7JLdIygeChY="; 12 + }; 13 + 14 + vendorSha256 = "9EeiYPNTUEFHxTdvVb2JLU6Qi0oazH+n9MB8Dg+RLJ4="; 15 + 16 + postConfigure = '' 17 + substituteInPlace vendor/github.com/md14454/gosensors/gosensors.go \ 18 + --replace '"/etc/sensors3.conf"' '"${lm_sensors}/etc/sensors3.conf"' 19 + ''; 20 + 21 + CGO_CFLAGS = "-I ${lm_sensors}/include"; 22 + CGO_LDFLAGS = "-L ${lm_sensors}/lib"; 23 + 24 + meta = with lib; { 25 + description = "A simple daemon providing dynamic fan speed control based on temperature sensors"; 26 + homepage = "https://github.com/markusressel/fan2go"; 27 + license = licenses.agpl3Plus; 28 + maintainers = with maintainers; [ mtoohey ]; 29 + platforms = platforms.linux; 30 + }; 31 + }
+2
pkgs/top-level/all-packages.nix
··· 24810 24810 24811 24811 facetimehd-firmware = callPackage ../os-specific/linux/firmware/facetimehd-firmware { }; 24812 24812 24813 + fan2go = callPackage ../os-specific/linux/fan2go { }; 24814 + 24813 24815 fatrace = callPackage ../os-specific/linux/fatrace { }; 24814 24816 24815 24817 ffado = libsForQt5.callPackage ../os-specific/linux/ffado {