@@ -2,13 +2,16 @@
22, buildPythonPackage
33, fetchPypi
44, pytestCheckHook
5+, pythonAtLeast
56, pythonOlder
67, typing-extensions
8+, zipp
79}:
810
911buildPythonPackage rec {
1012 pname = "catalogue";
1113 version = "2.0.6";
14+ format = "setuptools";
1215
1316 disabled = pythonOlder "3.6";
1417
@@ -19,16 +22,27 @@ buildPythonPackage rec {
1922
2023 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
2124 typing-extensions
25+ zipp
2226 ];
2327
24− checkInputs = [ pytestCheckHook ];
28+ checkInputs = [
29+ pytestCheckHook
30+ ];
31+
32+ disabledTests = lib.optionals (pythonAtLeast "3.10") [
33+ # https://github.com/explosion/catalogue/issues/27
34+ "test_entry_points"
35+ ];
2536
26− pythonImportsCheck = [ "catalogue" ];
37+ pythonImportsCheck = [
38+ "catalogue"
39+ ];
2740
2841 meta = with lib; {
2942 description = "Tiny library for adding function or object registries";
3043 homepage = "https://github.com/explosion/catalogue";
3144 changelog = "https://github.com/explosion/catalogue/releases/tag/v${version}";
3245 license = licenses.mit;
46+ maintainers = with maintainers; [ ];
3347 };
3448}