all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#58392] [PATCH] gnu: Add nbfc-linux
@ 2022-10-08 19:38 florhizome
  2022-10-11 17:19 ` florhizome
  0 siblings, 1 reply; 3+ messages in thread
From: florhizome @ 2022-10-08 19:38 UTC (permalink / raw)
  To: 58392

This patch adds the nbfc-linux package, containing tools for fan control.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#58392] [PATCH] gnu: Add nbfc-linux
  2022-10-08 19:38 [bug#58392] [PATCH] gnu: Add nbfc-linux florhizome
@ 2022-10-11 17:19 ` florhizome
  2022-10-18 12:54   ` bug#58392: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: florhizome @ 2022-10-11 17:19 UTC (permalink / raw)
  To: 58392; +Cc: florhizome

From: florhizome <florhizome@posteo.net>

---
 gnu/packages/linux.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2a2b1614f9..5b58313f69 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5886,6 +5886,43 @@ (define-public freefall
 feature, and a laptop with an accelerometer.  It has no effect on SSDs.")
     (license license:gpl2)))
 
+
+(define-public nbfc-linux
+  (let ((version "0.1.7")
+        (commit "4c2b75e4a875459e86a9892319889ff945e9cadf")
+        (revision "0"))
+    (package
+      (name "nbfc-linux")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/nbfc-linux/nbfc-linux")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0mmyfaigrh3fd5v11a8p38km4m02qzsfx8yh72g0z405bzhqn5jk"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:make-flags (list (string-append "CC="
+                                           ,(cc-for-target))
+                            (string-append "PREFIX="
+                                           (assoc-ref %outputs "out")))
+         #:tests? #f
+         #:phases (modify-phases %standard-phases
+                    (delete 'configure))))
+      (native-inputs (list pkg-config))
+      (propagated-inputs (list python dmidecode))
+      (synopsis "NoteBook FanControl ported to Linux")
+      (description
+       "This is a C port of Stefan Hirschmann's NoteBook FanControl.
+
+ It provides the same utilities with the same interfaces as the original NBFC,
+ although the implementation differs.")
+      (home-page "https://github.com/nbfc-linux/nbfc-linux")
+      (license license:gpl3+))))
+
 (define-public thinkfan
   (package
     (name "thinkfan")

base-commit: 40a42c4348635f186553938015f7e6a06be1e10c
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#58392: [PATCH] gnu: Add nbfc-linux
  2022-10-11 17:19 ` florhizome
@ 2022-10-18 12:54   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-10-18 12:54 UTC (permalink / raw)
  To: florhizome; +Cc: 58392-done

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

Hi,

florhizome@posteo.net skribis:

> From: florhizome <florhizome@posteo.net>
>
> ---
>  gnu/packages/linux.scm | 37 +++++++++++++++++++++++++++++++++++++

Applied with a commit log and the cosmetic changes below.

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 850 bytes --]

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 015d957df5..864c379eac 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5924,10 +5924,9 @@ (define-public nbfc-linux
       (propagated-inputs (list python dmidecode))
       (synopsis "NoteBook FanControl ported to Linux")
       (description
-       "This is a C port of Stefan Hirschmann's NoteBook FanControl.
-
- It provides the same utilities with the same interfaces as the original NBFC,
- although the implementation differs.")
+       "This package provides a C port of NoteBook FanControl (NBFC), a fan
+control service for notebooks.  It provides the same utilities with the same
+interfaces as the original NBFC, although the implementation differs.")
       (home-page "https://github.com/nbfc-linux/nbfc-linux")
       (license license:gpl3+))))
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-18 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-08 19:38 [bug#58392] [PATCH] gnu: Add nbfc-linux florhizome
2022-10-11 17:19 ` florhizome
2022-10-18 12:54   ` bug#58392: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.