From patchwork Wed Sep 13 09:55:59 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: 53781 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 908E627BBEA; Wed, 13 Sep 2023 10:57:27 +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 7410827BBE2 for ; Wed, 13 Sep 2023 10:57:26 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgMcH-00036G-BU; Wed, 13 Sep 2023 05:57:01 -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 1qgMcE-000356-Rz for guix-patches@gnu.org; Wed, 13 Sep 2023 05:56:58 -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 1qgMcE-0002of-HH for guix-patches@gnu.org; Wed, 13 Sep 2023 05:56:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgMcJ-0008Pa-L7 for guix-patches@gnu.org; Wed, 13 Sep 2023 05:57:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65911] [PATCH 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, 13 Sep 2023 09:57: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.169459898232263 (code B ref 65911); Wed, 13 Sep 2023 09:57:03 +0000 Received: (at 65911) by debbugs.gnu.org; 13 Sep 2023 09:56:22 +0000 Received: from localhost ([127.0.0.1]:60859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgMbe-0008OD-Di for submit@debbugs.gnu.org; Wed, 13 Sep 2023 05:56:22 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:52348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgMbZ-0008NT-So for 65911@debbugs.gnu.org; Wed, 13 Sep 2023 05:56:18 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4018af1038cso71830635e9.0 for <65911@debbugs.gnu.org>; Wed, 13 Sep 2023 02:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1694598967; x=1695203767; 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=MKoqz3zWWQgRMRPDLmoAw69GVbzEGg+b7rLNsBJmwezHgpx2Cg1MEsFdIVNziAZSuQ 6O4RgskN3BLMmMDED/YYMqpCe2iE9TPviMMsbWOMpulboX4rhQH/JEBOO7JHNNt2FChF hPpyrhqPowNyDNpvjArSUXIYg36QxjGF45nzOYKmAScmvwapI5jY+k8L91ffYPt7nyha CYTE3cEHe8Rk0XhI8dNXVyNFJbqvOdBMndUK3yxic3h0KxsHgdxP8WvR6sXHYTKDNnU7 A89bZGWclZXbCCBDgSKLcNXJDudel8PfHZmH/sgNW/SP29ArIv7BCibT3zLXqtwmF9FD kYmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694598967; x=1695203767; 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=i/UaYkdf7W6IFDWhZUn4ZhBt/fBmdDDAmKU5h5BRdxYiPoz+X2dil/vfFakAVCoB2/ 7xN0bIoZ7XJbZRYul6yE4ivi+QCqx6VsNUKhmdi79z5J15pJnDtePi2s6FsLbbQNW2CL M34H03C/xIhh21SGHIv3NwP+1MhBZ/EnU98UDMCCP9a5LhUwTIdD2IqhhnZp7F4t7eBL ubYIFkwYaT9IiC9iWjxzpsubolRvoaOJhD+tUt6ted1ziqrb9CcvN0VIWPsG0jvVR3dA lemRnfPJb4cNzEdPtQGKFq/9dEULqgQOMxMo2lgu6Pbtc01AHh8hdwiKC9wOHhRNis0w xXFw== X-Gm-Message-State: AOJu0YzMH/Z3BErA4fgKiXBfK2Mc6B5tiIGrpKQNGlhEId/FCQ17BHhk RHNPtmyQv7+5sfYjEDS9I25bYOHW4N/NtlMFyCuaTg== X-Google-Smtp-Source: AGHT+IFmyVuV+qJo9+6lkeNgvGZhoP3JnozpNAy614rqfJpSWXEypkDYyxlmjZbOndN3GBPJ3CW6gQ== X-Received: by 2002:a1c:7212:0:b0:401:c636:8f4c with SMTP id n18-20020a1c7212000000b00401c6368f4cmr1674930wmc.3.1694598966802; Wed, 13 Sep 2023 02:56:06 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id x14-20020a1c7c0e000000b003fe2b081661sm1577675wmc.30.2023.09.13.02.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 02:56:06 -0700 (PDT) Date: Wed, 13 Sep 2023 11:55:59 +0200 Message-Id: <20230913095559.12676-4-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230913095559.12676-1-jean@foundationdevices.com> References: <20230913095559.12676-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