mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
0215034f25
when they already rely on SRI hashes.
36 lines
612 B
Nix
36 lines
612 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, flit-core
|
|
, polib
|
|
, click }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lingua";
|
|
version = "4.15.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "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 ];
|
|
};
|
|
}
|