forked from mirrors/nixpkgs
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
19 lines
450 B
Nix
19 lines
450 B
Nix
{ stdenv, fetchurl, mecab-nodic }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
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"
|
|
'';
|
|
}
|