2017-05-30 01:19:07 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "future";
|
2018-11-04 11:34:59 +01:00
|
|
|
version = "0.17.1";
|
2017-05-30 01:19:07 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 11:34:59 +01:00
|
|
|
sha256 = "67045236dcfd6816dc439556d009594abf643e5eb48992e36beac09c2ca659b8";
|
2017-05-30 01:19:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Clean single-source support for Python 3 and 2";
|
|
|
|
longDescription = ''
|
|
|
|
python-future is the missing compatibility layer between Python 2 and
|
|
|
|
Python 3. It allows you to use a single, clean Python 3.x-compatible
|
|
|
|
codebase to support both Python 2 and Python 3 with minimal overhead.
|
|
|
|
|
|
|
|
It provides future and past packages with backports and forward ports
|
|
|
|
of features from Python 3 and 2. It also comes with futurize and
|
|
|
|
pasteurize, customized 2to3-based scripts that helps you to convert
|
|
|
|
either Py2 or Py3 code easily to support both Python 2 and 3 in a
|
|
|
|
single clean Py3-style codebase, module by module.
|
|
|
|
'';
|
|
|
|
homepage = https://python-future.org;
|
|
|
|
downloadPage = https://github.com/PythonCharmers/python-future/releases;
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
maintainers = with lib.maintainers; [ prikhi ];
|
|
|
|
};
|
|
|
|
}
|