diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-11-04 22:32:36 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-11-06 00:08:06 -0400 |
commit | f583b14ce87c84e5a44f22c6895a31701e633011 (patch) | |
tree | 292080cbaaa93a1029db3e3b9490a6a2dbb690de /gnu/packages/python-xyz.scm | |
parent | b0d9ab3db0cd99ef3223852a0cc8d2035c23709a (diff) |
gnu: Add python-linkify-it-py.
* gnu/packages/python-xyz.scm (python-linkify-it-py): New variable.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 41d3bedde9..657f1e41e9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4203,6 +4203,34 @@ work on your part.") for linkify-it-py projects.") (license license:expat))) +(define-public python-linkify-it-py + (package + (name "python-linkify-it-py") + (version "2.0.0") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/tsutsu3/linkify-it-py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fg0a1lc8xbb62y9krxcp708ll58dxcwm8i7rrwpkd5sh2229f6x")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-uc-micro-py)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/tsutsu3/linkify-it-py") + (synopsis "Links recognition library with full Unicode support") + (description "This is Python port of +@url{https://github.com/markdown-it/linkify-it, linkify-it}, which is a links +recognition library with full Unicode support. It has features like: +@itemize +@item Full unicode support, with @i{astral} characters +@item International domains support +@item Allows rules extension and custom normalizers. +@end itemize") + (license license:expat))) + (define-public python-markdown-it-py (package (name "python-markdown-it-py") |