blob: 46e0e3fdd4627919da014755cbc72670170e1a95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
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 = {
description = "Python port of Google's language-detection library";
homepage = "https://github.com/Mimino666/langdetect";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ erikarvstedt ];
};
}
|