pythonPackages.glob2: init at 0.7

needed for poetry python 2.7 support
This commit is contained in:
Chris Ostrouchov 2019-07-16 16:36:04 -04:00 committed by Frederik Rietdijk
parent ba4384d865
commit e5f77fb6ba
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "glob2";
version = "0.7";
src = fetchPypi {
inherit pname version;
sha256 = "135bj8gm6vn45vv0phrvhyir36kfm17y7kmasxinv8lagk8dphw5";
};
checkPhase = ''
${python.interpreter} test.py
'';
meta = with lib; {
description = "Version of the glob module that can capture patterns and supports recursive wildcards";
homepage = https://github.com/miracle2k/python-glob2/;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -586,6 +586,8 @@ in {
glymur = callPackage ../development/python-modules/glymur { };
glob2 = callPackage ../development/python-modules/glob2 { };
glom = callPackage ../development/python-modules/glom { };
goocalendar = callPackage ../development/python-modules/goocalendar { };