mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
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:
parent
6905aa1cf4
commit
d2ca851c04
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user