1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/mecab-python3/default.nix
2021-06-03 12:44:33 +02:00

35 lines
703 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, mecab
, swig
, setuptools-scm
}:
buildPythonPackage rec {
pname = "mecab-python3";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "62abe28a1155398325372291483608427bc82681fef80e7d132904415f9fd42e";
};
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 ];
};
}