Merge pull request #57904 from dotlambda/mecab-python3-fix
python.pkgs.mecab-python3: fix build
This commit is contained in:
commit
9107b4af4f
@ -1,7 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, mecab
|
||||
, fetchPypi
|
||||
, mecab
|
||||
, swig
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -13,12 +14,17 @@ buildPythonPackage rec {
|
||||
sha256 = "5aca4d0d196161e41452b89921042c0e61a6b7e7e9373211c0c1c50d1809055d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mecab ];
|
||||
nativeBuildInputs = [
|
||||
mecab # for mecab-config
|
||||
swig
|
||||
];
|
||||
|
||||
buildInputs = [ mecab ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A python wrapper for mecab: Morphological Analysis engine";
|
||||
homepage = https://github.com/LuminosoInsight/wordfreq/;
|
||||
license = licenses.bsd0;
|
||||
homepage = https://github.com/SamuraiT/mecab-python3;
|
||||
license = with licenses; [ gpl2 lgpl21 bsd3 ]; # any of the three
|
||||
maintainers = with maintainers; [ ixxie ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user