[PATCH python-team] gnu: Add python-tatsu.

  • Done
  • quality assurance status badge
Details
2 participants
  • gemmaro
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
gemmaro
Severity
normal

Debbugs page

G
G
gemmaro wrote on 14 Mar 01:43 -0700
(address . guix-patches@gnu.org)(name . gemmaro)(address . gemmaro.dev@gmail.com)
ad5cd69f8b96e289f5e4972e3f1ccc535991b26a.1741941808.git.gemmaro.dev@gmail.com
* gnu/packages/python-xyz.scm (python-tatsu): New variable.

Change-Id: I0868e5ec57bc384b2dad2114671b780c988d77d4
---
gnu/packages/python-xyz.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)

Toggle diff (47 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 01c6322931..5a4e6455e5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -141,7 +141,7 @@
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net>
;;; Copyright © 2023 Ontje Lünsdorf <ontje.luensdorf@dlr.de>
-;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
+;;; Copyright © 2023, 2025 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2023 Parnikkapore <poomklao@yahoo.com>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
;;; Copyright © c4droid <c4droid@foxmail.com>
@@ -37215,6 +37215,29 @@ (define-public python-taskgroup
@code{asyncio.Runner} and @code{asyncio.timeout}.")
(license license:expat)))
+(define-public python-tatsu
+ (package
+ (name "python-tatsu")
+ (version "5.13.1")
+ (source
+ (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/neogeny/TatSu")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0pdq9d45vbp7j600ig4k21mv2wipvmz05dji91x7kifhzfl5i6w9"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-setuptools python-wheel python-pytest))
+ (home-page "https://tatsu.readthedocs.io/en/stable/")
+ (synopsis "PEG/Packrat Parser generator for Python")
+ (description
+ "TatSu (竜) takes a grammar in a variation of Extended Backus-Naur Form
+(EBNF) as input, and outputs a memoizing Parsing Expression Grammar
+(PEG) or Packrat parser in Python.")
+ (license license:bsd-4)))
+
(define-public python-csb43
(package
(name "python-csb43")

base-commit: f73ece09ab3c1bd0d367eb343426ebc3c8d41190
--
2.48.1
S
S
Sharlatan Hellseher wrote on 16 Mar 13:58 -0700
(address . 77008-done@debbugs.gnu.org)
87zfhku1zi.fsf@gmail.com
Hi,

Thank you for the patch.

I've adjusted license from bsd-4 to bsd-2 after skimming the project
source
checking which one is set in Nix as well

Pushed to master as ccc9fd93c402a251bf53b25bd92be0a856f7999d.
--
Oleg
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmfXO3EWHHNoYXJsYXRh
bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStTHbD/oDbqXczq8YfStz7Cm0aOffS6Ed
d/FMsjzV5JdfFnithYqYJKRPuwgkQbUJ+bN0vECqstg7nRK9IrL7mnQbMsBVOoHY
3dj2W0sBZwBijApJ0/LZDHzFNWBu7KDwsG27tUaqyo8WUZjEIwD6E5hEuZ8RyJ1Z
6YKRObHN7Rh5tIIkuLD/Bh0TN8K8rHU6I1qQzv2iYIUsx5AzVz7CxoCgxFCyXNtA
cql/Ud7RuqzW7qLS8yFlV7nMJzYPr8jqHfvBm9BbKqQsSexFEVPffcuO8hYKBeA7
HEcIbNLWIiBNZSjoM/KW4fouDTsmRJCZ6n/dG4wCQlGvZFR8pG/fdFQBOvjunC/Q
no9tL6WfrJaQ0MBaCyghr/GM/FDOquupN5aSRjp9P5WGS4ynVuHIXOIQIDcuoyJO
zwyYjxoZwYAstrVpiFZHmmI+mmC6l8osf2CgSXD2H6t5Tn3P2NQqawa5l17HvY7G
xx8jCXuzZajiXmCP+0GYhZaI5H0PlSKXkYgP7soe4gNO/1vMHIXYraXzKisjB7Nd
kI97jbEFSSAdcq19sUCX0WZGYrH+4pQ6WesVIc5SeXKU4+Aiw7sRAJldKMT8Qg86
EkW8AK/DfzzTe/f5nBScq++g77xpox3iVIfuXmV98QBg2/XRuurBtxOgyzGfJvdn
AL8sZPx4Ek3bpfm/AQ==
=a3sc
-----END PGP SIGNATURE-----

Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 77008@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 77008
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch