Merge pull request #57904 from dotlambda/mecab-python3-fix

python.pkgs.mecab-python3: fix build
This commit is contained in:
Robert Schütz 2019-03-21 09:45:21 +01:00 committed by GitHub
commit 9107b4af4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, mecab
, fetchPypi , fetchPypi
, mecab
, swig
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -13,12 +14,17 @@ buildPythonPackage rec {
sha256 = "5aca4d0d196161e41452b89921042c0e61a6b7e7e9373211c0c1c50d1809055d"; sha256 = "5aca4d0d196161e41452b89921042c0e61a6b7e7e9373211c0c1c50d1809055d";
}; };
propagatedBuildInputs = [ mecab ]; nativeBuildInputs = [
mecab # for mecab-config
swig
];
buildInputs = [ mecab ];
meta = with lib; { meta = with lib; {
description = "A python wrapper for mecab: Morphological Analysis engine"; description = "A python wrapper for mecab: Morphological Analysis engine";
homepage = https://github.com/LuminosoInsight/wordfreq/; homepage = https://github.com/SamuraiT/mecab-python3;
license = licenses.bsd0; license = with licenses; [ gpl2 lgpl21 bsd3 ]; # any of the three
maintainers = with maintainers; [ ixxie ]; maintainers = with maintainers; [ ixxie ];
}; };
} }