depot/third_party/nixpkgs/pkgs/development/python-modules/lingua/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

35 lines
614 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, flit-core
, polib
, click }:
buildPythonPackage rec {
pname = "lingua";
version = "4.15.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-DhqUZ0HbKIpANhrQT/OP4EvwgZg0uKu4TEtTX+2bpO8=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
click
polib
];
pythonImportsCheck = [ "lingua" ];
meta = with lib; {
description = "Translation toolset";
homepage = "https://github.com/wichert/lingua";
license = licenses.bsd3;
maintainers = with maintainers; [ np ];
};
}