unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: peter@polidoro.io
To: 55637@debbugs.gnu.org
Cc: Peter Polidoro <peter@polidoro.io>
Subject: [bug#55637] [PATCH] gnu: Add python-pylink-square.
Date: Thu, 26 May 2022 14:55:42 -0400	[thread overview]
Message-ID: <60db9b9dbccfc6522f1e3e28ff51d0ea74457fad.1653591259.git.peter@polidoro.io> (raw)
In-Reply-To: <865yltftp9.fsf@polidoro.io>

From: Peter Polidoro <peter@polidoro.io>

* 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





  parent reply	other threads:[~2022-05-26 18:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 16:43 [bug#55637] Add west requirements.txt dependencies Peter Polidoro
2022-05-25 17:11 ` [bug#55637] [PATCH] gnu: Add python-canopen peter
2022-05-27  9:22   ` Christopher Baines
2022-05-25 17:33 ` [bug#55637] [PATCH] gnu: Add python-progress peter
2022-05-27  9:24   ` Christopher Baines
2022-05-26 18:55 ` peter [this message]
2022-05-27  9:26   ` [bug#55637] [PATCH] gnu: Add python-pylink-square Christopher Baines
2022-05-27 14:50     ` Peter Polidoro
2022-05-27 18:37 ` [bug#55637] [PATCH] gnu: Add python-canopen peter
2022-06-06 20:19   ` [bug#55637] Add west requirements.txt dependencies Ludovic Courtès
2022-05-27 18:57 ` [bug#55637] [PATCH] gnu: Add python-progress peter
2022-06-06 20:21   ` bug#55637: Add west requirements.txt dependencies Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60db9b9dbccfc6522f1e3e28ff51d0ea74457fad.1653591259.git.peter@polidoro.io \
    --to=peter@polidoro.io \
    --cc=55637@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).