depot/third_party/nixpkgs/pkgs/development/python-modules/simplemma/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

34 lines
719 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 = [ ];
};
}