{ lib , buildPythonPackage , fetchPypi , requests , tqdm , wasabi , plac , fetchzip , ... # , mecab # , swig # , setuptools-scm }: fetchzip { url = "https://clrd.ninjal.ac.jp/unidic_archive/2302/unidic-cwj-202302_full.zip"; stripRoot = false; sha256 = "sha256-ISTqbLtfBww4yRZ53RBNEeA2QRjzRhF/LR+BDjWtgRI="; } # in buildPythonPackage rec { # pname = "unidic"; # version = "1.1.0"; # src = fetchPypi { # inherit pname version; # sha256 = "CrkcBd40LITSpjFJAf06+5Bh7NdTTdSgQx3Mu4fZIbc="; # }; # format = "setuptools"; # nativeBuildInputs = [ # requests # tqdm # wasabi # plac # # mecab # for mecab-config # # swig # # setuptools-scm # ]; # postBuildPhase = '' # ln -s ${unidic_dataset}/* unidic/dicdir # ''; # # buildInputs = [ mecab ]; # # doCheck = false; # }