about summary refs log tree commit diff
path: root/pkgs/development/python-modules/autopep8/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/autopep8/default.nix')
-rw-r--r--pkgs/development/python-modules/autopep8/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/autopep8/default.nix b/pkgs/development/python-modules/autopep8/default.nix
index 2af098692988..03a084bf01ad 100644
--- a/pkgs/development/python-modules/autopep8/default.nix
+++ b/pkgs/development/python-modules/autopep8/default.nix
@@ -1,19 +1,23 @@
-{ stdenv, fetchPypi, buildPythonPackage, pycodestyle }:
+{ stdenv, fetchPypi, buildPythonPackage, pycodestyle, glibcLocales }:
 
 buildPythonPackage rec {
   pname = "autopep8";
-  version = "1.3.5";
+  version = "1.4.2";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "192bvhzi4d0claqxgzymvv7k3qnj627742bc8sgxpzjj42pd9112";
+    sha256 = "1b8d42ebba751a91090d3adb5c06840b1151d71ed43e1c7a9ed6911bfe8ebe6c";
   };
 
   propagatedBuildInputs = [ pycodestyle ];
 
   # One test fails:
   # FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)
-  doCheck = false;
+#   doCheck = false;
+
+  checkInputs = [ glibcLocales ];
+
+  LC_ALL = "en_US.UTF-8";
 
   meta = with stdenv.lib; {
     description = "A tool that automatically formats Python code to conform to the PEP 8 style guide";