pythonPackages.autopep8: 1.0.4 -> 1.3.3

The pep8 package is renamed to pycodestyle and autopep8 references the
new name.

(Also, fetchurl -> fetchPypi.)
This commit is contained in:
Bjørn Forsman 2017-10-29 14:18:17 +01:00
parent adac3e43fd
commit 41b89d1577

View File

@ -1,14 +1,16 @@
{ stdenv, fetchurl, buildPythonPackage, pep8 }: { stdenv, fetchPypi, buildPythonPackage, pycodestyle }:
buildPythonPackage rec { buildPythonPackage rec {
name = "autopep8-1.0.4"; pname = "autopep8";
version = "1.3.3";
name = "${pname}-${version}";
src = fetchurl { src = fetchPypi {
url = "mirror://pypi/a/autopep8/${name}.tar.gz"; inherit pname version;
sha256 = "17lydqm8y9a5qadp6iifxrb5mb0g9fr1vxn5qy1fjpyhazxaw8n1"; sha256 = "0c1gl648g2xnz3j0rsp71ld4i32zlglmqjvqf4q8r08jp3zpny7z";
}; };
propagatedBuildInputs = [ pep8 ]; propagatedBuildInputs = [ pycodestyle ];
# One test fails: # One test fails:
# FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests) # FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)