From f6005737208cf634b0f981f4b8c9d02bf1b77046 Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Tue, 17 Nov 2020 13:22:02 +0100 Subject: [PATCH 2/3] gnu: Add python-globber. * gnu/packages/python-xyz.scm (python-globber): New variable. --- 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 b1d6005a8e..02ec4aec64 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18273,6 +18273,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.git") + (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") -- 2.29.2