[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: Add python-globber.
From: |
guix-commits |
Subject: |
02/03: gnu: Add python-globber. |
Date: |
Wed, 18 Nov 2020 03:40:23 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 6a8bac06d38724b4229631534bb0a0ebaf5effa6
Author: Leo Prikler <leo.prikler@student.tugraz.at>
AuthorDate: Tue Nov 17 13:22:02 2020 +0100
gnu: Add python-globber.
* gnu/packages/python-xyz.scm (python-globber): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 18dafe4..4f849bc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18274,6 +18274,31 @@ Features include, but are not limited to:
@end itemize")
(license license:expat)))
+(define-public python-globber
+ (package
+ (name "python-globber")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/asharov/globber")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "055xf7ja7zjhxis0ab5fnfsx16fsvr5fvc6mixqybanwxh8sgfjk"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/asharov/globber")
+ (synopsis "Library for string matching with glob patterns")
+ (description
+ "Globber is a Python library for matching file names against glob
patterns.
+In contrast to other glob-matching libraries, it matches arbitrary strings and
+doesn't require the matched names to be existing files. In addition, it
+supports the globstar @code{**} operator to match an arbitrary number of
+path components.")
+ (license license:asl2.0)))
+
(define-public python-fusepy
(package
(name "python-fusepy")