ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / nb / nbfc-linux / package.nix
blob4e41574dcd18923a1852cb10db8cf162b45574cb
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   autoreconfHook,
6 }:
7 stdenv.mkDerivation (finalAttrs: {
8   pname = "nbfc-linux";
9   version = "0.2.7";
11   src = fetchFromGitHub {
12     owner = "nbfc-linux";
13     repo = "nbfc-linux";
14     rev = "${finalAttrs.version}";
15     hash = "sha256-1tLW/xEh01y8BjVbgIa95DkYWf7CDVSo/lI/1U28Xs8=";
16   };
18   nativeBuildInputs = [
19     autoreconfHook
20   ];
21   configureFlags = [
22     "--prefix=${placeholder "out"}"
23     "--sysconfdir=${placeholder "out"}/etc"
24     "--bindir=${placeholder "out"}/bin"
25   ];
27   meta = {
28     description = "C port of Stefan Hirschmann's NoteBook FanControl";
29     longDescription = ''
30       nbfc-linux provides fan control service for notebooks
31     '';
32     homepage = "https://github.com/nbfc-linux/nbfc-linux";
33     license = lib.licenses.gpl3;
34     maintainers = [lib.maintainers.Celibistrial];
35     mainProgram = "nbfc";
36     platforms = lib.platforms.linux;
37   };