2022-07-26 08:25:56 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, flit-core
|
|
|
|
, polib
|
|
|
|
, click }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lingua";
|
|
|
|
version = "4.15.0";
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-DhqUZ0HbKIpANhrQT/OP4EvwgZg0uKu4TEtTX+2bpO8=";
|
2022-07-26 08:25:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|