mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
python311Packages.yargy: init at 0.16.0
This commit is contained in:
parent
3ed64b7383
commit
9e227c3bbd
29
pkgs/development/python-modules/yargy/default.nix
Normal file
29
pkgs/development/python-modules/yargy/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pymorphy2
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yargy";
|
||||
version = "0.16.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-yRfu+zKkDCPEa2yojWiScHLdAKuU6Q/V3GqwpitZtZM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pymorphy2 ];
|
||||
pythonImportCheck = [ "yargy" ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "tests" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rule-based facts extraction for Russian language";
|
||||
homepage = "https://github.com/natasha/yargu";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ npatsakula ];
|
||||
};
|
||||
}
|
@ -14012,6 +14012,8 @@ self: super: with self; {
|
||||
|
||||
yarg = callPackage ../development/python-modules/yarg { };
|
||||
|
||||
yagry = callPackage ../development/python-modules/yargy { };
|
||||
|
||||
yark = callPackage ../development/python-modules/yark { };
|
||||
|
||||
yarl = callPackage ../development/python-modules/yarl { };
|
||||
|
Loading…
Reference in New Issue
Block a user