From patchwork Wed Aug 18 01:13:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Denis 'GNUtoo' Carikli X-Patchwork-Id: 32171 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 4DFC027BC78; Wed, 18 Aug 2021 02:14:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BCB5927BC6B for ; Wed, 18 Aug 2021 02:14:16 +0100 (BST) Received: from localhost ([::1]:33366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGA9n-000797-Pf for patchwork@mira.cbaines.net; Tue, 17 Aug 2021 21:14:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGA9a-00078p-Jg for guix-patches@gnu.org; Tue, 17 Aug 2021 21:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGA9a-0001sA-Dk for guix-patches@gnu.org; Tue, 17 Aug 2021 21:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGA9a-0002HF-6w for guix-patches@gnu.org; Tue, 17 Aug 2021 21:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50102] [PATCH] gnu: add h-client Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Aug 2021 01:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50102 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50102@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16292491948687 (code B ref -1); Wed, 18 Aug 2021 01:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2021 01:13:14 +0000 Received: from localhost ([127.0.0.1]:54452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGA8k-0002Fy-0O for submit@debbugs.gnu.org; Tue, 17 Aug 2021 21:13:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:49090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGA8h-0002Fq-Q7 for submit@debbugs.gnu.org; Tue, 17 Aug 2021 21:13:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGA8h-00076S-Jw for guix-patches@gnu.org; Tue, 17 Aug 2021 21:13:07 -0400 Received: from cyberdimension.org ([2001:910:1314:ffff::1]:45434 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mGA8f-0001EA-12 for guix-patches@gnu.org; Tue, 17 Aug 2021 21:13:07 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 19349e4d; Wed, 18 Aug 2021 01:03:58 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 67efffb5; Wed, 18 Aug 2021 01:03:58 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Wed, 18 Aug 2021 03:13:56 +0200 Message-Id: <20210818011356.8138-1-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 * gnu/packages/h-node.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Ditto. Signed-off-by: Denis 'GNUtoo' Carikli --- gnu/local.mk | 1 + gnu/packages/h-node.scm | 71 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 gnu/packages/h-node.scm diff --git a/gnu/local.mk b/gnu/local.mk index 6dda311743..8fd33c478b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -280,6 +280,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/haskell-xyz.scm \ %D%/packages/heads.scm \ %D%/packages/hexedit.scm \ + %D%/packages/h-node.scm \ %D%/packages/hugs.scm \ %D%/packages/hunspell.scm \ %D%/packages/hurd.scm \ diff --git a/gnu/packages/h-node.scm b/gnu/packages/h-node.scm new file mode 100644 index 0000000000..11ed0e5850 --- /dev/null +++ b/gnu/packages/h-node.scm @@ -0,0 +1,71 @@ +;;; Copyright © 2021 Denis Carikli +;;; +;;; This file is part of GNU Guix. +;;; +;;; This file is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; This file is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages h-node) + #:use-module (guix build-system python) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix svn-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (gnu packages gtk) + #:use-module (gnu packages linux) + #:use-module (gnu packages pciutils) + #:use-module (gnu packages python) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz)) + +(define-public h-client + (package + (name "h-client") + (version "0.0a0.dev0") + (source + (origin + (method svn-fetch) + (uri + (svn-reference + (url "https://svn.savannah.nongnu.org/svn/h-client/trunk/h-client") + (revision 138))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pdd2qhyaa5vh7z4rkpwjlby1flkwhzmp8zlglalx5y5sv95l4kp")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2 + ;; Tests depends on /etc/os-release which does not exist in the + ;; build container. + #:tests? #f)) + (inputs + `(("python2" ,python-2) + ("python2-pycurl", python2-pycurl) + ("python2-pygtk", python2-pygtk) + ("pciutils", pciutils) + ("usbutils", usbutils))) + (synopsis "Graphical client for the https://www.h-node.org hardware database + project") + (description + "The h-node project (https://www.h-node.org) aims to build a database of + hardware that works with fully free operating systems. + h-client is a GTK+ graphical client that is able to retrieves information on + the hardware inside the computer it's running on, and on peripherals connected + to it, and help you submit that information to the h-node project along with + if the hardware isworking with fully free operating systems or not. + Note that h-node only accept information from FSF endorsed distributions and + Debian with only the main archive area enabled as the goal is + to know which hardware work with fully free operating systems.") + (home-page "https://savannah.nongnu.org/projects/h-client/") + (license license:gpl3)))