Loading pkgs/development/python-modules/simplebayes/default.nix +2 −4 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, nose, unittestCheckHook, mock, isPy3k, }: Loading @@ -22,16 +22,14 @@ buildPythonPackage { }; nativeCheckInputs = [ nose mock unittestCheckHook ]; postPatch = lib.optionalString isPy3k '' sed -i -e 's/open *(\([^)]*\))/open(\1, encoding="utf-8")/' setup.py ''; checkPhase = "nosetests tests/test.py"; meta = with lib; { description = "Memory-based naive bayesian text classifier"; homepage = "https://github.com/hickeroar/simplebayes"; Loading Loading
pkgs/development/python-modules/simplebayes/default.nix +2 −4 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, nose, unittestCheckHook, mock, isPy3k, }: Loading @@ -22,16 +22,14 @@ buildPythonPackage { }; nativeCheckInputs = [ nose mock unittestCheckHook ]; postPatch = lib.optionalString isPy3k '' sed -i -e 's/open *(\([^)]*\))/open(\1, encoding="utf-8")/' setup.py ''; checkPhase = "nosetests tests/test.py"; meta = with lib; { description = "Memory-based naive bayesian text classifier"; homepage = "https://github.com/hickeroar/simplebayes"; Loading