summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-03-16 10:43:26 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-20 14:11:37 +0000
commite9b94ef3d256d11e61e8f6582a4159df6a67b8e1 (patch)
treea53efd81c712a258bc4b36f57eff354c5ea0f081
parent60919f0bfe1fd58f6fe3f849d16355550d7410ce (diff)
gnu: Add python-nrepl.
* gnu/packages/python-xyz.scm (python-nrepl): New variable. Merges: https://codeberg.org/guix/guix/pulls/7208 Change-Id: Ia82ea5542a95c912ef582f3adacb6249c376e549 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fb1894b8b87..3ce44d45db8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1853,6 +1853,40 @@ packages.")
processes, in parallel, in the console, with an interactive TUI.")
(license license:expat)))
+(define-public python-nrepl
+ (package
+ (name "python-nrepl")
+ (version "0.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~ngraves/nrepl-python")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ns8c5d29vi11qma1nnazsja5nibknp97ig0lg45wfpjbb5ngl2b"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--numprocesses" (number->string (parallel-job-count)))))
+ (native-inputs
+ (list python-flit-core
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-xdist))
+ (propagated-inputs
+ (list python-fastbencode
+ python-gevent
+ python-ipython))
+ (home-page "https://git.sr.ht/~ngraves/nrepl-python")
+ (synopsis "NREPL server for Python")
+ (description
+ "This package provides an implementation of the @url{https://nrepl.org,
+NREPL} protocol for Python.")
+ (license license:gpl3+)))
+
(define-public python-num2words
(package
(name "python-num2words")