20 testNltkData = symlinkJoin {
21 name = "nltk-test-data";
22 paths = [ nltk-data.punkt nltk-data.stopwords ];
25 buildPythonPackage rec {
30 disabled = pythonOlder "3.8";
32 # using PyPI because the repo does not have tags or release branches
36 hash = "sha256-nA5TlyHpCueFWqUggS7T/eKSLlffp0pIyGCouwXPZ28=";
43 propagatedBuildInputs = [
56 # PyPI package does not include tests
59 # Package import requires NLTK data to be downloaded
60 # It is the only way to set NLTK_DATA environment variable,
61 # so that it is available in pythonImportsCheck
62 env.NLTK_DATA = testNltkData;
63 pythonImportsCheck = [ "type_infer" ];
66 description = "Automated type inference for Machine Learning pipelines";
67 homepage = "https://pypi.org/project/type-infer/";
68 license = licenses.gpl3Only;
69 maintainers = with maintainers; [ mbalatsko ];