diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-12 09:24:17 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-12 09:24:17 +0200 |
commit | 7bea8f176278d32537ef919cd11981332dc42c73 (patch) | |
tree | 6956bc04fe50d806966ccc66543b7c17399fdf0c /pkgs/development/python-modules/langdetect | |
parent | dbdde6249fa068e1d514aeeaeb4618f8dbbb63cb (diff) |
python3Packages.langdetect: 1.0.7 -> 1.0.9
Diffstat (limited to 'pkgs/development/python-modules/langdetect')
-rw-r--r-- | pkgs/development/python-modules/langdetect/default.nix | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/langdetect/default.nix b/pkgs/development/python-modules/langdetect/default.nix index 57fee2664cdfb..2b9f87fdd81a4 100644 --- a/pkgs/development/python-modules/langdetect/default.nix +++ b/pkgs/development/python-modules/langdetect/default.nix @@ -1,16 +1,28 @@ -{ lib, buildPythonPackage, fetchPypi, six }: +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, six +}: buildPythonPackage rec { pname = "langdetect"; - version = "1.0.7"; + version = "1.0.9"; src = fetchPypi { inherit pname version; - extension = "zip"; - sha256 = "0c5zm6c7xzsigbb9c7v4r33fcpz911zscfwvh3dq1qxdy3ap18ci"; + sha256 = "1805svvb7xjm4sf1j7b6nc3409x37pd1xmabfwwjf1ldkzwgxhfb"; }; - propagatedBuildInputs = [ six ]; + propagatedBuildInputs = [ + six + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ "langdetect" ]; meta = with lib; { description = "Python port of Google's language-detection library"; |