nixpkgs/pkgs/tools/text/mecab/ipadic.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
466 B
Nix
Raw Normal View History

{ stdenv, fetchurl, mecab-nodic }:
2023-09-26 17:56:22 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "mecab-ipadic";
version = "2.7.0-20070801";
src = fetchurl {
url = "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM";
2023-09-26 17:56:22 +00:00
name = "mecab-ipadic-${finalAttrs.version}.tar.gz";
hash = "sha256-ti9SfYgcUEV2uu2cbvZWFVRlixdc5q4AlqYDB+SeNSM=";
};
buildInputs = [ mecab-nodic ];
configurePhase = ''
./configure --with-dicdir="$out"
'';
2023-09-26 17:56:22 +00:00
})