gnu: guix-jupyter: Update to 0.3.0.

* gnu/packages/package-management.scm (guix-jupyter): Update to 0.3.0.
[arguments]: Remove ‘define-home’ phase, which is no longer needed.

Change-Id: I18e0897caf6e9ad0bc7d410f2011fad031cecb7e
This commit is contained in:
Ludovic Courtès 2024-11-14 15:38:29 +01:00 committed by Ludovic Courtès
parent 2ac93b9b5c
commit 75fc77dc99
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1709,15 +1709,15 @@ This package just includes the agent component.")))
(define-public guix-jupyter
(package
(name "guix-jupyter")
(version "0.2.2")
(home-page "https://gitlab.inria.fr/guix-hpc/guix-kernel")
(version "0.3.0")
(home-page "https://codeberg.org/guix-science/guix-jupyter")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page)
(commit (string-append "v" version))))
(sha256
(base32
"17m6970wnvwlbarq4gxz5bakhzyhq5ch8qd8jw55ydccpv6473kq"))
"0cvjxv60la2bqmwb7m2bfpvjy8hx1hmjk2qy9wfzaffcabgr0x44"))
(file-name (string-append "guix-jupyter-" version "-checkout"))))
(build-system gnu-build-system)
(arguments
@ -1764,16 +1764,7 @@ This package just includes the agent component.")))
"\",\n\t\t\""))
(("guix-jupyter-kernel.scm")
(string-append out "/share/guile/site/" effective
"/guix-jupyter-kernel.scm"))))))
(add-before 'check 'define-home
(lambda _
;; IPython goes awry when HOME points to a non-existent
;; directory:
;;
;; IPython/paths.py:70: UserWarning: IPython parent '/homeless-shelter' is not a writable location, using a temp directory.
;;
;; This in turn leads to test failures, so define HOME.
(setenv "HOME" (getcwd)))))))
"/guix-jupyter-kernel.scm")))))))))
(native-inputs
(list autoconf
automake