blob: 558dab085dd92834738c00857ebdced367a63604 (
plain) (
blame)
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
|
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "LTpycld2";
version = "0.42";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "948d0c1ab5518ab4efcbcc3cd73bb29f809f1dfb30f4d2fbd81b175a1ffeb516";
};
doCheck = false; # completely broken tests
pythonImportsCheck = [ "pycld2" ];
meta = with lib; {
description = "Python bindings around Google Chromium's embedded compact language detection library (CLD2)";
homepage = "https://github.com/LibreTranslate/pycld2";
license = licenses.asl20;
maintainers = with maintainers; [ misuzu ];
broken = stdenv.isDarwin;
};
}
|