From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WNgvJ4fNj2KCfAAAbAwnHQ (envelope-from ) for ; Thu, 26 May 2022 20:57:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UMT7JofNj2Lw3wAAauVa8A (envelope-from ) for ; Thu, 26 May 2022 20:57:11 +0200 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 BDE9E3FA76 for ; Thu, 26 May 2022 20:57:10 +0200 (CEST) Received: from localhost ([::1]:35220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuIfU-0007yy-VI for larch@yhetil.org; Thu, 26 May 2022 14:57:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuIfO-0007yZ-HL for guix-patches@gnu.org; Thu, 26 May 2022 14:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuIfO-0007t3-9A for guix-patches@gnu.org; Thu, 26 May 2022 14:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuIfO-0000f5-4h for guix-patches@gnu.org; Thu, 26 May 2022 14:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55637] [PATCH] gnu: Add python-pylink-square. References: <865yltftp9.fsf@polidoro.io> In-Reply-To: <865yltftp9.fsf@polidoro.io> Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 May 2022 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 55637@debbugs.gnu.org Cc: Peter Polidoro Received: via spool by 55637-submit@debbugs.gnu.org id=B55637.16535913622472 (code B ref 55637); Thu, 26 May 2022 18:57:02 +0000 Received: (at 55637) by debbugs.gnu.org; 26 May 2022 18:56:02 +0000 Received: from localhost ([127.0.0.1]:59977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuIeP-0000dd-U8 for submit@debbugs.gnu.org; Thu, 26 May 2022 14:56:02 -0400 Received: from donkey.elm.relay.mailchannels.net ([23.83.212.49]:48212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuIeK-0000dI-9G for 55637@debbugs.gnu.org; Thu, 26 May 2022 14:56:00 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C634C561E92; Thu, 26 May 2022 18:55:54 +0000 (UTC) Received: from pdx1-sub0-mail-a294.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 641E05616BE; Thu, 26 May 2022 18:55:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1653591354; a=rsa-sha256; cv=none; b=DnXRKXLn9YUbjNm3cDbIR4NxQlH83snE4DAguO1SotFSkZxSHWC9YbRKBsDaabviBKsfnW OmszXc+H6bmoqU6Il2pNtcJJ+rJEC1V9YVnd4W5FLiP6pVxBxHru2oqe66AbIoLG6WrV+G hQZ1g1tC0d+aX6jIU/8ohkZJrFerylI/s0gtWAm2s+IqwPmA5WPgVu/X2ichqCKyFL0gx7 97X7TJsjQl4tb/w1yNV/2OGXGPjBE/dN2v9JFeEe+6oFm2jaZZTbfpRM4NNk31y5+6IGUm jnacMGfQXyTbf7v0QVb1Te3SbOg/Odralo9HRWvIqSHbUnJtM/tbVRuiBqW6mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1653591354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=Kwr1RWqXPSYtW/pA9bBktuz+AQQDSqLjFLeetQIPLFo=; b=JerXBG4fzWpoxpS5b5grSyGyUQQmQYhqYNu2aCgu+afJG1dCBT7APc3ef3qeCIvyCSRlok 6534/BQgf++uSOR/sZoqfX53jfHoUHMlkIggYWK0uSwuUIcka8H/bcns9+aKrhfo78MRV/ aV2ByJP+IkRkmMmRxCsEXE8Q54db2xvHzMAxILWA7gIovlBdaGefv+SdgH/nhEdGROb/Ta sTItdGEjtq3BKwYiunTKV09+h3TZ0K4pexnnGRs8DGQkd7dQR9L6P74EMcnbjCpJwjLIN3 CYP1e0OYDdAAE3RgCu0ASCVxg4j8J7Cl8HvwucSlsxIuhKHHsw+DeR1SV/CK6w== ARC-Authentication-Results: i=1; rspamd-68cf9fd8bf-k8gcp; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Obese-Left: 1a7c89f50efe7727_1653591354657_2680334264 X-MC-Loop-Signature: 1653591354657:1240996092 X-MC-Ingress-Time: 1653591354657 Received: from pdx1-sub0-mail-a294.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.115.45.17 (trex/6.7.1); Thu, 26 May 2022 18:55:54 +0000 Received: from knave.hhmi.org (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a294.dreamhost.com (Postfix) with ESMTPSA id 4L8HFj5j4mz1Mw; Thu, 26 May 2022 11:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1653591354; bh=Kwr1RWqXPSYtW/pA9bBktuz+AQQDSqLjFLeetQIPLFo=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=3D4isWRBeEO0yy+ggZ1tBMluYJGdAPwrZTCMvBEhA176rTOHcPU2Cs+n8l3y/zbPj 2PvL8I7R3MlfTZmGvs6UgOv82klFmE/0464ED8NbTeXrdaL1RmSQplldzmm4KtJm74 6eL/cpzPVexDzL2QtEbq2QQkySdKTKdv4oP4qrJY6vVxUuf9EuvCNx4rhDxqDHZnU2 Nl6FS/0zqwqNf3zKKXCMqhefOyyFhbGbhLmqD6kfNJ0FVVom4FwWss39xxNI4zfPft WVZ8kQKLXE2LFZ/9UlPwEAI4gd88R3kHzZyZwF7zgontRYdGXK88tfDsE8jP/zVAZJ mwio4EuMNdNow== From: peter@polidoro.io Date: Thu, 26 May 2022 14:55:42 -0400 Message-Id: <60db9b9dbccfc6522f1e3e28ff51d0ea74457fad.1653591259.git.peter@polidoro.io> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653591431; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Kwr1RWqXPSYtW/pA9bBktuz+AQQDSqLjFLeetQIPLFo=; b=bnaHGDMKKD/eNn0RVsV99Zknvqz8xyFZoRoFVlUuaS4C4azluKPnuYSGojpjjDMVK52K8M MsqL5E8AuAfTUbeE2Rl4r6O9OJptzDvK1QWxQV7EVqmDYR5XJaqj07D+FjNK3AlZdNdElK yvYaumSp5Bgh+G/nYPuZ0/hO1u2B7r++29yjPdUpOzQKoZbv8FFPhvjFMPNR+MdvjKGMHE TjhF4rD6eHte6kjXY6joNNlkXX1t3dBg7gP1uXXSLa0Ov6iwSBGMYbVGbfYBVMLfcnnf+i 88y/E+1e5wYSWRvAoEmcoDjELAR95/nTw7CZzkXVhkGkoARgc11gDrroo8zmRw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1653591431; a=rsa-sha256; cv=fail; b=CJ3r35GTzuQ6g0AEQ8Y0a8axBaRbds4eX2MMZ4x5yKnlWSaRlG+FM4wYEfblZQeE78BoB1 ano8BMffu48L5UN8NRLfzIq6l6hlz4hbkm9F/S9Ukh+kKcd108hrtJFPNp0OaVTCc1A+ns dapkwS3zcUrF6b05nAXTS53M7Knpu1J0LeKV8nQtofB7AWQcMD8jeW0boXTg1G9DQoPFXH uS+gNhCsFv3wkM7aQ7wjB1+m0SkkjExjcpNnAnDmIBsF6zV2dUBb5iTYQLG9mSJHVLURXa xafMfrShmX8YNZPijcP7v+B7HCAKLih/y1Z3V5hmk0+UKTUhjdanKpNa53288A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polidoro.io header.s=dreamhost header.b=3D4isWRB; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polidoro.io header.s=dreamhost header.b=3D4isWRB; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BDE9E3FA76 X-Spam-Score: 3.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3J9kgI2WKuCK From: Peter Polidoro * gnu/packages/embedded.scm (python-pylink-square): New variable. --- gnu/packages/embedded.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 010f5b84d2..75675c2698 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -1699,3 +1699,34 @@ (define-public mbed-tools connected by USB, checkout Mbed projects and perform builds amongst other operations.") (license license:asl2.0))) + +(define-public python-pylink-square + (package + (name "python-pylink-square") + (version "0.12.0") + (source + ;; The tests suite appears to be incomplete in the PyPI archive. + (origin + (method git-fetch) + (uri (git-reference + (url "http://www.github.com/Square/pylink") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w0pi91gvaw9k2r267kpc1ryd74v19iq5ysn4j7pf4g2069gbgxf")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-setup + (lambda _ + (substitute* "setup.py" + (("mock == 2.0.0") "mock"))))))) + (native-inputs (list python-mock)) + (propagated-inputs (list python-future + python-psutil + python-six + libjaylink)) + (home-page "http://www.github.com/Square/pylink") + (synopsis "Python interface for SEGGER J-Link.") + (description "Python interface for SEGGER J-Link.") + (license license:asl2.0))) -- 2.36.0