depot/third_party/nixpkgs/pkgs/development/python-modules/langdetect/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
656 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
six,
}:
buildPythonPackage rec {
pname = "langdetect";
version = "1.0.9";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1805svvb7xjm4sf1j7b6nc3409x37pd1xmabfwwjf1ldkzwgxhfb";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "langdetect" ];
meta = with lib; {
description = "Python port of Google's language-detection library";
homepage = "https://github.com/Mimino666/langdetect";
license = licenses.asl20;
maintainers = with maintainers; [ erikarvstedt ];
};
}