6 buildPythonPackage rec {
10 format = "setuptools";
13 inherit pname version;
14 hash = "sha256-NKF0Nu0elml6hvnePRWjsL4B2LyN6cHf/Vn7gjTtUwc=";
17 pythonImportsCheck = [
20 "future.standard_library"
28 changelog = "https://github.com/PythonCharmers/python-future/blob/v${version}/docs/whatsnew.rst";
29 description = "Clean single-source support for Python 3 and 2";
31 python-future is the missing compatibility layer between Python 2 and
32 Python 3. It allows you to use a single, clean Python 3.x-compatible
33 codebase to support both Python 2 and Python 3 with minimal overhead.
35 It provides future and past packages with backports and forward ports
36 of features from Python 3 and 2. It also comes with futurize and
37 pasteurize, customized 2to3-based scripts that helps you to convert
38 either Py2 or Py3 code easily to support both Python 2 and 3 in a
39 single clean Py3-style codebase, module by module.
41 homepage = "https://python-future.org";
42 downloadPage = "https://github.com/PythonCharmers/python-future/releases";
43 license = lib.licenses.mit;
44 maintainers = with lib.maintainers; [ prikhi ];