From patchwork Tue Oct 11 17:19:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: florhizome X-Patchwork-Id: 43333 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BD39127BBEA; Tue, 11 Oct 2022 20:25:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6D47327BBE9 for ; Tue, 11 Oct 2022 20:25:25 +0100 (BST) Received: from localhost ([::1]:46188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiKsW-0006e2-K7 for patchwork@mira.cbaines.net; Tue, 11 Oct 2022 15:25:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiKqG-0004GV-95 for guix-patches@gnu.org; Tue, 11 Oct 2022 15:23:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiKqG-00053i-1L for guix-patches@gnu.org; Tue, 11 Oct 2022 15:23:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiKqF-0006Lr-Qe for guix-patches@gnu.org; Tue, 11 Oct 2022 15:23:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58392] [PATCH] gnu: Add nbfc-linux References: <871qrit8bc.fsf@posteo.net> In-Reply-To: <871qrit8bc.fsf@posteo.net> Resent-From: florhizome@posteo.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Oct 2022 19:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58392 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58392@debbugs.gnu.org Cc: florhizome Received: via spool by 58392-submit@debbugs.gnu.org id=B58392.166551618024352 (code B ref 58392); Tue, 11 Oct 2022 19:23:03 +0000 Received: (at 58392) by debbugs.gnu.org; 11 Oct 2022 19:23:00 +0000 Received: from localhost ([127.0.0.1]:54871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiKqB-0006Kb-Ea for submit@debbugs.gnu.org; Tue, 11 Oct 2022 15:22:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiIvJ-00035r-C4 for 58392@debbugs.gnu.org; Tue, 11 Oct 2022 13:20:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 10C18240027 for <58392@debbugs.gnu.org>; Tue, 11 Oct 2022 19:20:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665508803; bh=bx7VTsyUhQASMWzh8dFe85G2jiXbSvExIhdmYiYWaBM=; h=From:To:Cc:Subject:Date:From; b=DaTovLsZphFbPb5EGDAGFgpCU23l0FH433HLmyD9BD58Gb911sG/tDdopKWa9nMgo qquGUOVgM20CDM2wWARBAsZWblz/TNZrWyPMy8JpxyYgc8+90iR3hvKbBqwO9FW/34 hgQEvZPm8VY+6z4RKj915t6CNq/GTiJj6MZuQ6NTIBKys33w8HYGBnx+9KoKiguLUo SvB6P7y7bwJbRwbQJzYfOLmgBufa3BdkaE/lp/uUSFV+HDopU3aPPjWziqM09GaOrG Y1wVIjpnXOyhgQdBiZO/0ou+EUXppYSNyU5AxWosYcDhzmPe8rYpR8xxZ+Syp3lPbi SMkxb00I7DXPQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mn2bN0nVHz6tpp; Tue, 11 Oct 2022 19:19:59 +0200 (CEST) From: florhizome@posteo.net Date: Tue, 11 Oct 2022 17:19:57 +0000 Message-Id: MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 11 Oct 2022 15:22:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: florhizome --- gnu/packages/linux.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) base-commit: 40a42c4348635f186553938015f7e6a06be1e10c 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")