Files
nixpkgs/pkgs/development/python-modules/mecab-python3/default.nix
T

35 lines
703 B
Nix
Raw Normal View History

2018-03-25 20:37:36 +02:00
{ lib
, buildPythonPackage
, fetchPypi
2019-03-19 15:28:32 +01:00
, mecab
, swig
, setuptools_scm
2018-03-25 20:37:36 +02:00
}:
buildPythonPackage rec {
pname = "mecab-python3";
version = "1.0.3";
2018-03-25 20:37:36 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "62abe28a1155398325372291483608427bc82681fef80e7d132904415f9fd42e";
2018-03-25 20:37:36 +02:00
};
2019-03-19 15:28:32 +01:00
nativeBuildInputs = [
mecab # for mecab-config
swig
setuptools_scm
2019-03-19 15:28:32 +01:00
];
buildInputs = [ mecab ];
2018-03-25 20:37:36 +02:00
doCheck = false;
2018-03-25 20:37:36 +02:00
meta = with lib; {
description = "A python wrapper for mecab: Morphological Analysis engine";
homepage = "https://github.com/SamuraiT/mecab-python3";
2019-03-19 15:30:50 +01:00
license = with licenses; [ gpl2 lgpl21 bsd3 ]; # any of the three
2018-03-25 20:37:36 +02:00
maintainers = with maintainers; [ ixxie ];
};
}