My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/mecab-python3/default.nix

34 lines
690 B

{ lib
, buildPythonPackage
, fetchPypi
, mecab
, swig
, setuptools-scm
}:
buildPythonPackage rec {
pname = "mecab-python3";
version = "1.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-5wPXjIimcau4FwNRZEhQAV2bv6sxUwo7QNEkgaZ3mhE=";
};
nativeBuildInputs = [
mecab # for mecab-config
swig
setuptools-scm
];
buildInputs = [ mecab ];
doCheck = false;
meta = with lib; {
description = "A python wrapper for mecab: Morphological Analysis engine";
homepage = "https://github.com/SamuraiT/mecab-python3";
license = with licenses; [ gpl2 lgpl21 bsd3 ]; # any of the three
maintainers = with maintainers; [ ixxie ];
};
}