1{ stdenv, fetchPypi, buildPythonPackage, pycodestyle }: 2 3buildPythonPackage rec { 4 pname = "autopep8"; 5 version = "1.3.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "192bvhzi4d0claqxgzymvv7k3qnj627742bc8sgxpzjj42pd9112"; 10 }; 11 12 propagatedBuildInputs = [ pycodestyle ]; 13 14 # One test fails: 15 # FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests) 16 doCheck = false; 17 18 meta = with stdenv.lib; { 19 description = "A tool that automatically formats Python code to conform to the PEP 8 style guide"; 20 homepage = https://pypi.python.org/pypi/autopep8/; 21 license = licenses.mit; 22 platforms = platforms.all; 23 maintainers = with maintainers; [ bjornfor ]; 24 }; 25}