python.pkgs.mecab-python3: fix build

fallout of https://github.com/NixOS/nixpkgs/pull/54182
This commit is contained in:
Robert Schütz 2019-03-19 15:28:32 +01:00
parent f4ffeaf9a5
commit 06bcb5c21b

View file

@ -1,7 +1,8 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, mecab
, fetchPypi , fetchPypi
, mecab
, swig
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -13,7 +14,12 @@ 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";