f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
28 lines
607 B
Nix
28 lines
607 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
python,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "glob2";
|
|
version = "0.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "135bj8gm6vn45vv0phrvhyir36kfm17y7kmasxinv8lagk8dphw5";
|
|
};
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} test.py
|
|
'';
|
|
|
|
meta = {
|
|
description = "Version of the glob module that can capture patterns and supports recursive wildcards";
|
|
homepage = "https://github.com/miracle2k/python-glob2/";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
};
|
|
}
|