summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2024-07-06 13:15:59 -0300
committerVinicius Monego <monego@posteo.net>2024-07-06 23:05:46 -0300
commit426739bd9dd2e504d140eb02a68c1898c02ffd4b (patch)
tree4699dc364b2740e8ba358c1e125276242c1344be /gnu/packages
parent3d0114e8fbb711c2d95b4865bcced4d9fa06e874 (diff)
downloadguix-426739bd9dd2e504d140eb02a68c1898c02ffd4b.tar.gz
gnu: xonsh: Update to 0.17.0.
* gnu/packages/shells.scm (xonsh): Update to 0.17.0.
[source](snippet): Update substitution.

Change-Id: I62d31200f8636e6db9de5d697e711e5b70fcfa9d
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/shells.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index ae4e73956e..e916ab1653 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2023 David Pflug <david@pflug.io>
 ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
 ;;; Copyright © 2024 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -547,18 +548,18 @@ ksh, and tcsh.")
 (define-public xonsh
   (package
     (name "xonsh")
-    (version "0.15.1")
+    (version "0.17.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "xonsh" version))
         (sha256
           (base32
-           "0427mimr4k75myg5mnig564kq7xbb5f5hws2ly3gxxl6g8mk79il"))
+           "17jhhxwm1nbh7yq72y7d4n880x46817iami7lvcj3ywdbzrfg6r9"))
         (modules '((guix build utils)))
         (snippet
          #~(begin
-             (substitute* "setup.py"
+             (substitute* "pyproject.toml"
                (("\"xonsh\\.ply\\.ply\",") ""))
              ;; Use our properly packaged PLY instead.
              (substitute* (list "setup.py"
@@ -566,6 +567,7 @@ ksh, and tcsh.")
                                 "xonsh/lexer.py"
                                 "xonsh/parsers/base.py"
                                 "xonsh/parsers/completion_context.py"
+                                "xonsh/parsers/v310.py"
                                 "xonsh/xonfig.py")
                (("from xonsh\\.ply\\.(.*) import" _ module)
                 (format #f "from ~a import" module))