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