Unverified Commit daca0e45 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.pymorphy3: 2.0.4 -> 2.0.6 (#454488)

parents 736c2011 69f35351
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,10 +17,10 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "dawg_python" ];

  meta = with lib; {
  meta = {
    description = "Pure Python reader for DAWGs created by dawgdic C++ library or DAWG Python extension";
    homepage = "https://github.com/pytries/DAWG-Python";
    license = licenses.mit;
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}
+51 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  poetry-core,

  # dependencies
  typing-extensions,

  # tests
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "dawg2-python";
  version = "0.9.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pymorphy2-fork";
    repo = "DAWG-Python";
    tag = version;
    hash = "sha256-45k7QmozbMt7qYdDFRSL5JDeEtqdMHBoEXXQkLDoGfE=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    typing-extensions
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "dawg_python"
  ];

  meta = {
    description = "Pure-python reader for DAWGs created by dawgdic C++ library or DAWG Python extension. Fork of  https://github.com/pytries/DAWG-Python";
    homepage = "https://github.com/pymorphy2-fork/DAWG-Python";
    changelog = "https://github.com/pymorphy2-fork/DAWG-Python/blob/${src.tag}/CHANGES.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ doronbehar ];
  };
}
+13 −3
Original line number Diff line number Diff line
@@ -2,24 +2,34 @@
  lib,
  fetchPypi,
  buildPythonPackage,

  # build-system
  setuptools,
}:

buildPythonPackage rec {
  pname = "pymorphy2-dicts-ru";
  version = "2.4.417127.4579844";
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-eMrQOtymBQIavTh6Oy61FchRuG6UaCoe8jVKLHT8wZY=";
  };

  build-system = [
    setuptools
  ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "pymorphy2_dicts_ru" ];

  meta = with lib; {
  meta = {
    description = "Russian dictionaries for pymorphy2";
    homepage = "https://github.com/kmike/pymorphy2-dicts/";
    license = licenses.mit;
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}
+10 −3
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
  lib,
  fetchPypi,
  buildPythonPackage,

  # build-system
  setuptools,
}:

buildPythonPackage rec {
@@ -14,15 +17,19 @@ buildPythonPackage rec {
    hash = "sha256-Oas3nUypBbr+1Q9a/Do95vlkNgV3b7yrxNMIjU7TgrA=";
  };

  build-system = [
    setuptools
  ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "pymorphy3_dicts_ru" ];

  meta = with lib; {
  meta = {
    description = "Russian dictionaries for pymorphy3";
    homepage = "https://github.com/no-plagiarism/pymorphy3-dicts";
    license = licenses.mit;
    maintainers = with maintainers; [ jboy ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jboy ];
  };
}
+10 −3
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
  lib,
  fetchPypi,
  buildPythonPackage,

  # build-system
  setuptools,
}:

buildPythonPackage rec {
@@ -14,15 +17,19 @@ buildPythonPackage rec {
    hash = "sha256-s5RaNBNuGTgGzeZXuicdiKYHYedRN8E9E4qNFCqNEqw=";
  };

  build-system = [
    setuptools
  ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "pymorphy3_dicts_uk" ];

  meta = with lib; {
  meta = {
    description = "Ukrainian dictionaries for pymorphy3";
    homepage = "https://github.com/no-plagiarism/pymorphy3-dicts";
    license = licenses.mit;
    maintainers = with maintainers; [ jboy ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jboy ];
  };
}
Loading