1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "future-typing";
9 version = "0.4.1";
10 format = "setuptools";
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 mainProgram = "future_typing";
25 homepage = "https://github.com/PrettyWood/future-typing";
26 license = licenses.mit;
27 maintainers = with maintainers; [ kfollesdal ];
28 };
29}