guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

72/361: gnu: Add python-hatch-jupyter-builder.


From: guix-commits
Subject: 72/361: gnu: Add python-hatch-jupyter-builder.
Date: Fri, 22 Nov 2024 06:00:14 -0500 (EST)

andreas pushed a commit to branch python-team
in repository guix.

commit b4c193bd5f6c391993000bd5d3efc160a0cf4635
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 15:41:17 2024 +0200

    gnu: Add python-hatch-jupyter-builder.
    
    * gnu/packages/jupyter.scm (python-hatch-jupyter-builder): New variable.
    
    Change-Id: I5bdf00a95dd6260eb5f6066a77394054bcec0ca4
---
 gnu/packages/jupyter.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 2298e87ccd..c485e68b9c 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -326,6 +326,33 @@ Jupyter Python packages that require a pre-build step that 
may include
 JavaScript build steps.")
     (license license:bsd-3)))
 
+(define-public python-hatch-jupyter-builder
+  (package
+    (name "python-hatch-jupyter-builder")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "hatch_jupyter_builder" version))
+       (sha256
+        (base32 "1baqk80c5ddhksh73l48mb59vvaaa2ldrs65k6vldii4s6c829vr"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; Don't attempt to build anything, because we don't have network access
+     ;; anyway.
+     (list #:test-flags '(list "-k" "not test_hatch_build")))
+    (propagated-inputs (list python-hatchling))
+    (native-inputs (list python-pytest
+                         python-pytest-cov
+                         python-pytest-mock
+                         python-tomli
+                         python-twine))
+    (home-page "https://github.com/jupyterlab/hatch-jupyter-builder";)
+    (synopsis "Hatch plugin to help build Jupyter packages")
+    (description
+     "This package provides a hatch plugin to help build Jupyter packages.")
+    (license license:bsd-3)))
+
 (define-public python-jupyter-server
   (package
     (name "python-jupyter-server")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]