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