From patchwork Wed Sep 20 10:05:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 54068 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 B9E9C27BBE9; Wed, 20 Sep 2023 11:06:26 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 D79A327BBE2 for ; Wed, 20 Sep 2023 11:06:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiu5r-0002nW-Lr; Wed, 20 Sep 2023 06:06:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiu5j-0002ls-3p for guix-patches@gnu.org; Wed, 20 Sep 2023 06:05:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiu5i-0004HU-3p for guix-patches@gnu.org; Wed, 20 Sep 2023 06:05:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiu5r-00048q-Bl for guix-patches@gnu.org; Wed, 20 Sep 2023 06:06:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65911] [PATCH v1 4/4] gnu: Add liquidctl. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Sep 2023 10:06:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65911 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65911@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 65911-submit@debbugs.gnu.org id=B65911.169520436015890 (code B ref 65911); Wed, 20 Sep 2023 10:06:03 +0000 Received: (at 65911) by debbugs.gnu.org; 20 Sep 2023 10:06:00 +0000 Received: from localhost ([127.0.0.1]:58406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiu5o-000488-1U for submit@debbugs.gnu.org; Wed, 20 Sep 2023 06:06:00 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:61729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiu5h-00047J-Es for 65911@debbugs.gnu.org; Wed, 20 Sep 2023 06:05:54 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-403004a96a4so73439765e9.3 for <65911@debbugs.gnu.org>; Wed, 20 Sep 2023 03:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695204338; x=1695809138; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bpxaVPpGNYjBDIY+1Y2RHHHK6OL7c/eQbRvY2k7k+dw=; b=EOBf2wiTJzh6hwTTOCTBll2RimjZQCAvGNlBiysapTqU9GfvPTQSPbVqbsW28djQT5 U1KCqOTiy9kGMKIaQXTmVGjUR5GGvqpQSqy5ZSY4fUBxvVxy8rkb61b93rB+zc2xNZkJ y/FDk/h2NuDssWX45A5h294gv1WYhgkZPWscRB3ZadUB+trI/wUXE2jlu6wTW0sdr9Bt eXuOUL7KpnpCX1kpt3ErivQnsuZevzs1cjYPp/S7NLmH95PfUwKdPKvkgLOQ5h1xQg7R GOXEPxgGibnXmYkTeED/5dVZ8mhb9OOztBkUYhHbTkw6V6WRQdrpgoAgG5X7Z5Ix44E4 /Tag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695204338; x=1695809138; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bpxaVPpGNYjBDIY+1Y2RHHHK6OL7c/eQbRvY2k7k+dw=; b=HmRdmhbLmcpA291sBV/hxdoTzwTQIUqEnDMf1wL3Ze3HA5E3oFu0VBody23DY7yC7d jw4f0/f/urpjKCLkWvR+UnVr6Z7ScDk5CugH4hEfPa65bPN7YN9N4GJuhfGLXMzbuPMp pgSIACnA+zgLYyrWoBCBJkv93F4iwM8b6O7nWaN4rUbEbyxcnuCIZzbaQmQWoq1cYmuh 0JgBdzwWEqqmXVmCMupoKV3TRcWCA5Z0DQ7eketvYJYXThbmO56rvneNKonSC7SIWbHQ ECecucZqMt00bD/Y5VJ8G0VLrN7uDZJoFqqw7M19L7P8TnipKgpPLkku8AKA6WT2YpR/ HNJQ== X-Gm-Message-State: AOJu0YygPsdZR27eHMzI2JIM7LhBnNra8SCcAjZ+J+RGOTlxsDhSLlhu B8Z54feTGhqtNDpnzksh752L+jwVnDqvb6Qp+WZOZg== X-Google-Smtp-Source: AGHT+IGkpT2U3zFss0JEJTH6VzcMOeCQVtAKV9/haO91Djcj9JhrpQkqgw/SJYP1w97oDzIJwVmPFQ== X-Received: by 2002:a7b:ca5a:0:b0:401:b53e:6c57 with SMTP id m26-20020a7bca5a000000b00401b53e6c57mr2121904wml.9.1695204337351; Wed, 20 Sep 2023 03:05:37 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id y20-20020a05600c20d400b003fefaf299b6sm1496927wmm.38.2023.09.20.03.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:05:37 -0700 (PDT) Date: Wed, 20 Sep 2023 12:05:28 +0200 Message-Id: <20230920100528.1217339-4-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230920100528.1217339-1-jean@foundationdevices.com> References: <20230920100528.1217339-1-jean@foundationdevices.com> MIME-Version: 1.0 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/hardware.scm (liquidctl): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/hardware.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 5188bb2910..3d8fa833a2 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Efraim Flashner ;;; Copyright © 2023 Spencer Skylar Chan +;;; Copyright © 2023 Foundation Devices, Inc. ;;; ;;; This file is part of GNU Guix. ;;; @@ -80,6 +81,7 @@ (define-module (gnu packages hardware) #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) @@ -99,6 +101,7 @@ (define-module (gnu packages hardware) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system perl) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix gexp) @@ -798,6 +801,42 @@ (define-public libsmbios (license (list license:osl2.1 license:gpl2+ license:bsd-3 license:boost1.0)))) +(define-public liquidctl + (package + (name "liquidctl") + (version "1.13.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/liquidctl/liquidctl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hpxkrfxm9c4v5ld7bh6qs9fmq9imz8s5i9l0l78l47bcm12nkrd")))) + (build-system pyproject-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-runtime-dir + (lambda _ + (setenv "XDG_RUNTIME_DIR" "/tmp")))))) + (native-inputs (list python-pytest)) + (propagated-inputs + (list python-colorlog + python-crcmod + python-docopt + python-hidapi + python-pillow + python-pyusb + python-smbus)) + (home-page "https://github.com/liquidctl/liquidctl") + (synopsis "Drivers and tools for liquid cooling equipment") + (description "Liquidctl is a package with tools, drivers and a Python +library to work with liquid cooling equipment such as @acronym{AIO, All-In-One} +coolers, fan controllers and other devices.") + (license license:gpl3+))) + ;; Distinct from memtest86, which is obsolete. (define-public memtest86+ (package