1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 python,
6}:
7
8buildPythonPackage rec {
9 pname = "glob2";
10 version = "0.7";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "135bj8gm6vn45vv0phrvhyir36kfm17y7kmasxinv8lagk8dphw5";
16 };
17
18 checkPhase = ''
19 ${python.interpreter} test.py
20 '';
21
22 meta = {
23 description = "Version of the glob module that can capture patterns and supports recursive wildcards";
24 homepage = "https://github.com/miracle2k/python-glob2/";
25 license = lib.licenses.bsd3;
26 maintainers = with lib.maintainers; [ sigmanificient ];
27 };
28}