1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 typing-extensions, 7}: 8 9buildPythonPackage rec { 10 pname = "future-typing"; 11 version = "0.4.1"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 pname = "future_typing"; 16 inherit version; 17 sha256 = "65fdc5034a95db212790fee5e977fb0a2df8deb60dccf3bac17d6d2b1a9bbacd"; 18 }; 19 20 doCheck = false; # No tests in pypi source. Did not get tests from GitHub source to work. 21 22 pythonImportsCheck = [ "future_typing" ]; 23 24 meta = with lib; { 25 description = "Use generic type hints and new union syntax `|` with python 3.6+"; 26 mainProgram = "future_typing"; 27 homepage = "https://github.com/PrettyWood/future-typing"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ kfollesdal ]; 30 }; 31}