1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "future";
8 version = "0.18.2";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d";
13 };
14
15 doCheck = false;
16
17 meta = {
18 description = "Clean single-source support for Python 3 and 2";
19 longDescription = ''
20 python-future is the missing compatibility layer between Python 2 and
21 Python 3. It allows you to use a single, clean Python 3.x-compatible
22 codebase to support both Python 2 and Python 3 with minimal overhead.
23
24 It provides future and past packages with backports and forward ports
25 of features from Python 3 and 2. It also comes with futurize and
26 pasteurize, customized 2to3-based scripts that helps you to convert
27 either Py2 or Py3 code easily to support both Python 2 and 3 in a
28 single clean Py3-style codebase, module by module.
29 '';
30 homepage = "https://python-future.org";
31 downloadPage = "https://github.com/PythonCharmers/python-future/releases";
32 license = with lib.licenses; [ mit ];
33 maintainers = with lib.maintainers; [ prikhi ];
34 };
35}