python-autopep8: new package

autopep8 is a tool that automatically formats Python code to conform to
the PEP 8 style guide.

https://pypi.python.org/pypi/autopep8/
This commit is contained in:
Bjørn Forsman 2014-04-04 16:48:10 +02:00
parent 6905aa1cf4
commit d2ca851c04

View File

@ -460,6 +460,29 @@ rec {
};
});
autopep8 = buildPythonPackage (rec {
name = "autopep8-1.0";
src = fetchurl {
url = "https://pypi.python.org/packages/source/a/autopep8/${name}.tar.gz";
md5 = "41782e66efcbaf9d761bb45a2d2929bb";
};
propagatedBuildInputs = [ pep8 ];
# One test fails:
# FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)
doCheck = false;
meta = with stdenv.lib; {
description = "A tool that automatically formats Python code to conform to the PEP 8 style guide";
homepage = https://pypi.python.org/pypi/autopep8/;
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.bjornfor ];
};
});
backports_ssl_match_hostname_3_4_0_2 = pythonPackages.buildPythonPackage rec {
name = "backports.ssl_match_hostname-3.4.0.2";