mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-lark.
* gnu/packages/python-xyz.scm (python-lark): New variable. (python-lark-parser): Inherit from python-lark and update to 0.12.0. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
61ba713470
commit
dbc331397e
1 changed files with 23 additions and 10 deletions
|
@ -23629,17 +23629,18 @@ in @file{pyproject.toml}-based projects. It provides basic functionality to
|
|||
write tooling that generates distribution files from Python projects.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-lark-parser
|
||||
(define-public python-lark
|
||||
(package
|
||||
(name "python-lark-parser")
|
||||
(version "0.9.0")
|
||||
(source (origin
|
||||
(name "python-lark")
|
||||
(version "1.2.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "lark-parser" version))
|
||||
(uri (pypi-uri "lark" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1kd61asrb3h9spgsj4bslfbgp8q4271sw3hblk6f2vbbblv8jxcy"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "107d1w24b3ln4zwsw4yvkfhff6bk5n3cpvlgbbqww5ndc80pv06a"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||
(home-page "https://github.com/lark-parser/lark")
|
||||
(synopsis "Multi-language parser for Python")
|
||||
(description
|
||||
|
@ -23649,6 +23650,18 @@ capable of parsing almost any programming language out there, and to
|
|||
some degree most natural languages too.")
|
||||
(license license:expat)))
|
||||
|
||||
;; XXX: lark was renamed from lark_parser with major release 1
|
||||
(define-public python-lark-parser
|
||||
(package/inherit python-lark
|
||||
(name "python-lark-parser")
|
||||
(version "0.12.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "lark-parser" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0f51jr7dvnd3rm7j5nkkgm2vxfa7a1s804avlvf16h11y6qpv5hm"))))))
|
||||
|
||||
(define-public python-find-libpython
|
||||
(package
|
||||
(name "python-find-libpython")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue