depot/third_party/nixpkgs/pkgs/development/python-modules/simplemma/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
737 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "simplemma";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "adbar";
repo = "simplemma";
rev = "refs/tags/v${version}";
hash = "sha256-lhk6QrBg0m8orYHphnP+YiCnJFE44buyp3NQbz0U550=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "simplemma" ];
meta = with lib; {
description = "Simple multilingual lemmatizer for Python, especially useful for speed and efficiency";
homepage = "https://github.com/adbar/simplemma";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}