depot/third_party/nixpkgs/pkgs/tools/text/mecab/ipadic.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

18 lines
448 B
Nix

{ stdenv, fetchurl, mecab-nodic }:
stdenv.mkDerivation {
pname = "mecab-ipadic";
version = "2.7.0-20070801";
src = fetchurl {
url = "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM";
name = "mecab-ipadic-2.7.0-20070801.tar.gz";
sha256 = "08rmkvj0f0x6jq0axrjw2y5nam0mavv6x77dp9v4al0wi1ym4bxn";
};
buildInputs = [ mecab-nodic ];
configurePhase = ''
./configure --with-dicdir="$out"
'';
}