From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sOAXL5Re5WDBhQAAgWs5BA (envelope-from ) for ; Wed, 07 Jul 2021 09:58:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6FPBKpRe5WB2XAAA1q6Kng (envelope-from ) for ; Wed, 07 Jul 2021 07:58:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 58AFC10739 for ; Wed, 7 Jul 2021 09:58:12 +0200 (CEST) Received: from localhost ([::1]:33818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m12Rf-00043I-80 for larch@yhetil.org; Wed, 07 Jul 2021 03:58:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m12RW-00040d-Nr for guix-patches@gnu.org; Wed, 07 Jul 2021 03:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39217) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m12RW-0002Pj-GH for guix-patches@gnu.org; Wed, 07 Jul 2021 03:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m12RW-0002Cf-4x for guix-patches@gnu.org; Wed, 07 Jul 2021 03:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49455] [PATCH] gnu: add libgpiod Resent-From: Ivan Gankevich Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Jul 2021 07:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49455 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49455@debbugs.gnu.org Cc: Ivan Gankevich X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16256446288403 (code B ref -1); Wed, 07 Jul 2021 07:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2021 07:57:08 +0000 Received: from localhost ([127.0.0.1]:50763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m12Qd-0002BT-VS for submit@debbugs.gnu.org; Wed, 07 Jul 2021 03:57:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:49410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m12Qc-0002BL-OK for submit@debbugs.gnu.org; Wed, 07 Jul 2021 03:57:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m12Qc-0003qb-3s for guix-patches@gnu.org; Wed, 07 Jul 2021 03:57:06 -0400 Received: from mail.spbu.ru ([195.70.197.23]:49842 helo=cgp2.pu.ru) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1m12QY-0002L1-MP for guix-patches@gnu.org; Wed, 07 Jul 2021 03:57:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=spbu.ru; s=20180812; bh=QWFsPOm/d/cEL+KzjyRByO6QsnyAVk1eHhLme78ZAzE=; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From; b=k2XsYqzHWD7yYxJFl2AvJyz9RB0R1r5kQ0rZXXqSROYfBZ7F0DKnt1qsMeQp9JVMSaVyjh1h6C tNyEjHVapLAJB5Q8BcvrXeCnyFq0fJVlBtSi2mQtC2qgB8pSw7sJxauk1w72RnGucdz2fBy79PHaN 65eUrhm5hjSUKlglQgghJI3S1sBzEKqcgj2UkPFtC5nun5jDPOo4biTz6y6jJdJW8Ros7VNwvrz3z gg1yoc0aPWtVG9isqJfVjwdzVMTRUaf5canet5mHaA0ihFIVtGb2DaxEWvH/lDdbA6AJItzrh8Fxo nOCTp5p2ITzl7QOa8gWZenRaBeWnuw3xeFFCg== Received: from [172.27.221.159] (account st018947@spbu.ru HELO surge.ws.pu.ru) by spbu.ru (CommuniGate Pro SMTP 6.2.15) with ESMTPSA id 169979037; Wed, 07 Jul 2021 10:56:57 +0300 From: Ivan Gankevich Date: Wed, 7 Jul 2021 10:56:39 +0300 Message-Id: <20210707075638.18941-1-i.gankevich@spbu.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=195.70.197.23; envelope-from=i.gankevich@spbu.ru; helo=cgp2.pu.ru X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625644692; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+SMbcbQl2aZeZhPfOdORgxguge3ixR/8qQuhXMRx02s=; b=QRXlIIA87yYsAEGuGKCs+16OkSLGPVZLiijg1xAxeNlnEc3cv5S/i2JF0KFfQcxycY8ymD 7IBZXOEjOXs0X54AJdqjHlWLRt/ujr2eHievr1Ca1XU2dWGA+EcH4g7sa+kXpscCldkrrY ihKJIFjJIEBD62DY9sPT0LB9lfHsQcL0+EQyFBQni2CoF6yrsbtGY63gGrG+W2HR0nciwX +ahTPGgfBb8KSafnAqXq0CqFeAG/pRxgxt+g3PpxSV0A58tX2SaM3/V2m55UefsjOb9HWx GWIcNbIQv0h6ZcJqqKbFQHEJAV6df7b4JTxoQ6khdI3ynegTrYWkcsNkkCaG0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625644692; a=rsa-sha256; cv=none; b=UM/dZ5763PNcqhxbP1rEflLGOgikuTcO70f+MGwgGQN5/cHS+YQ31AJSDRDtFKb80RgCB9 7DV9Ju5zI4+PyofcVglC0A/xv8NnJaCLMFD5GPF1XNUVQRtwIB4vYmg3bdIJ3uEAFN7JV8 7MHHxbLRVj/DL79WOmpL77Y5uopYw+CXDzb3oq1/nuNBuF+lqkVGLSFoGDGC9B90L/Av5t 2BaeQ3fx9cD+bzevDdBQY6mdvwxGdP/C/+rYrR8M0vHp4GWlNJl/FjRmLtThYQsLxaw8I+ MMcw9umjun2g4iqPzSD469/FusRAnmXguCF1HrhRK0hmP48xvOCfY5+Igb2qFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spbu.ru header.s=20180812 header.b=k2XsYqzH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spbu.ru header.s=20180812 header.b=k2XsYqzH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 58AFC10739 X-Spam-Score: 3.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: CoxR2cA2ORim --- gnu/packages/linux.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index da3c8755f6..9c83f1969d 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -8248,3 +8248,39 @@ Availability and Serviceability} reports from Linux kernel trace events. These trace events are logged in @file{/sys/kernel/debug/tracing} and reported through standard log mechanisms like syslog.") (license license:gpl2))) + +(define-public libgpiod + (package + (name "libgpiod") + (version "1.6.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 (base32 "0rv8a11hx3pc6sdw6nfc6k35hkp2clb3v53n1381cvip8fzhbsad")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + '("--enable-tools=yes" + "--enable-bindings-cxx" + "--enable-bindings-python"))) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,autoconf) + ("libtool" ,libtool) + ("autoconf-archive" ,autoconf-archive) + ("pkg-config" ,pkg-config) + ("python" ,python-3))) + (synopsis "C library and tools for interacting with the linux GPIO character device") + (description "C library with C++/Python bindings and command line tools +for interacting with GPIO devices that avoids the usage of older system-wide +/sys interface.") + (home-page "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/") + (license (list license:lgpl2.1+ ;; libgpiod + license:gpl2+ ;; gpio-tools + license:lgpl3+ ;; C++ bindings + )))) -- 2.32.0