[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add python-regex.
From: |
Roel Janssen |
Subject: |
01/01: gnu: Add python-regex. |
Date: |
Wed, 21 Jun 2017 04:37:12 -0400 (EDT) |
roelj pushed a commit to branch master
in repository guix.
commit fa3f5f472ccceafa537fc66fc896b941a887efe5
Author: Roel Janssen <address@hidden>
Date: Wed Jun 21 10:36:07 2017 +0200
gnu: Add python-regex.
* gnu/packages/python.scm (python-regex, python2-regex): New variables.
---
gnu/packages/python.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 775cab6..251c2b2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -40,6 +40,7 @@
;;; Copyright © 2017 Ben Sturmfels <address@hidden>
;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
;;; Copyright © 2017 José Miguel Sánchez García <address@hidden>
+;;; Copyright © 2017 Roel Janssen <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -15423,3 +15424,24 @@ window memory map manager.")
(define-public python2-smmap2
(package-with-python2 python-smmap2))
+
+(define-public python-regex
+ (package
+ (name "python-regex")
+ (version "2017.06.07")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "regex" version))
+ (sha256
+ (base32
+ "06r6b7yigikbj3a72whl85r2b64pj1r0ypmw9yalmkm0wnxq8mz4"))))
+ (build-system python-build-system)
+ (home-page "https://bitbucket.org/mrabarnett/mrab-regex")
+ (synopsis "Alternative regular expression module")
+ (description "This regular expression implementation is backwards-
+compatible with the standard @code{re} module, but offers additional
+functionality like full case-folding for case-insensitive matches in Unicode.")
+ (license license:psfl)))
+
+(define-public python2-regex
+ (package-with-python2 python-regex))