mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 11:44:02 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
37 lines
696 B
Nix
37 lines
696 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, isPy3k
|
|
, dawg-python
|
|
, docopt
|
|
, pymorphy2-dicts-ru
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymorphy2";
|
|
version = "0.9.1";
|
|
format = "setuptools";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hsRHFX3uLrI0HvvkU44SgadUdWuhqjLad6iWFMWLVgw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
dawg-python
|
|
docopt
|
|
pymorphy2-dicts-ru
|
|
];
|
|
|
|
pythonImportsCheck = [ "pymorphy2" ];
|
|
|
|
meta = with lib; {
|
|
description = "Morphological analyzer/inflection engine for Russian and Ukrainian";
|
|
homepage = "https://github.com/kmike/pymorphy2";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|