Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / ltpycld2 / default.nix
blob558dab085dd92834738c00857ebdced367a63604
1 { stdenv
2 , lib
3 , buildPythonPackage
4 , fetchPypi
5 }:
7 buildPythonPackage rec {
8   pname = "LTpycld2";
9   version = "0.42";
11   format = "setuptools";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "948d0c1ab5518ab4efcbcc3cd73bb29f809f1dfb30f4d2fbd81b175a1ffeb516";
16   };
18   doCheck = false; # completely broken tests
20   pythonImportsCheck = [ "pycld2" ];
22   meta = with lib; {
23     description = "Python bindings around Google Chromium's embedded compact language detection library (CLD2)";
24     homepage = "https://github.com/LibreTranslate/pycld2";
25     license = licenses.asl20;
26     maintainers = with maintainers; [ misuzu ];
27     broken = stdenv.isDarwin;
28   };