11 buildPythonPackage rec {
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
19 owner = "ariebovenberg";
22 hash = "sha256-+6KTFxOpwvGOCqy6JU87gOZmDa6MvjR10qES5wIfrjI=";
25 nativeBuildInputs = [ poetry-core ];
27 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
29 nativeCheckInputs = [ pytestCheckHook ];
31 pythonImportsCheck = [ "gentools" ];
34 description = "Tools for generators, generator functions, and generator-based coroutines";
35 homepage = "https://gentools.readthedocs.io/";
36 changelog = "https://github.com/ariebovenberg/gentools/blob/v${version}/CHANGELOG.rst";
37 license = licenses.mit;
38 maintainers = with maintainers; [ ];