depot/third_party/nixpkgs/pkgs/development/python-modules/simplemma/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

37 lines
732 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "simplemma";
version = "0.9.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "adbar";
repo = "simplemma";
rev = "v${version}";
hash = "sha256-2IvAJ+tRnlYISymYXznCGAoUTKkM/PoYwpZpuMSXRYQ=";
};
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; [ ];
};
}