diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pymystem3/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pymystem3/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pymystem3/default.nix b/nixpkgs/pkgs/development/python-modules/pymystem3/default.nix index 2b00dd7951d1..8c909b868b39 100644 --- a/nixpkgs/pkgs/development/python-modules/pymystem3/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pymystem3/default.nix @@ -1,6 +1,7 @@ { lib , fetchPypi , buildPythonPackage +, isPy3k , requests , flake8 , mock @@ -19,6 +20,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ requests ]; checkInputs = [ flake8 mock pytest ]; + doCheck = isPy3k; # fails on linting postPatch = '' sed -i 's#^_mystem_info = .*#_mystem_info = ["${mystem}/bin", "${mystem}/bin/mystem"]#' pymystem3/constants.py |