mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
Merge pull request #257436 from paveloom/simplemma
python3Packages.simplemma: init at 0.9.1
This commit is contained in:
commit
8ceb1c29e5
36
pkgs/development/python-modules/simplemma/default.nix
Normal file
36
pkgs/development/python-modules/simplemma/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simplemma";
|
||||
version = "0.9.1";
|
||||
|
||||
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; [ paveloom ];
|
||||
};
|
||||
}
|
@ -11957,6 +11957,8 @@ self: super: with self; {
|
||||
|
||||
simplekv = callPackage ../development/python-modules/simplekv { };
|
||||
|
||||
simplemma = callPackage ../development/python-modules/simplemma { };
|
||||
|
||||
simplenote = callPackage ../development/python-modules/simplenote { };
|
||||
|
||||
simplepush = callPackage ../development/python-modules/simplepush { };
|
||||
|
Loading…
Reference in New Issue
Block a user