6f2ce2a65e
I currently do not have much time to work on nixpkgs. Remove myself as a maintainer from a bunch of packages to avoid that people are waiting on me for a review.
36 lines
671 B
Nix
36 lines
671 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, isPy3k
|
|
, dawg-python
|
|
, docopt
|
|
, pymorphy2-dicts-ru
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymorphy2";
|
|
version = "0.9.1";
|
|
|
|
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; [ ];
|
|
};
|
|
}
|