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