TDT4310-project-sorted-japa.../nix/unidic.nix

44 lines
786 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, tqdm
, wasabi
, plac
, ...
# , mecab
# , swig
# , setuptools-scm
}:
buildPythonPackage rec {
pname = "unidic";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "CrkcBd40LITSpjFJAf06+5Bh7NdTTdSgQx3Mu4fZIbc=";
};
nativeBuildInputs = [
requests
tqdm
wasabi
plac
# 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 ];
# };
}