3
0
Fork 0
forked from mirrors/nixpkgs

jumanpp: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-18 21:24:54 +02:00
parent de8dbb21fb
commit 06b0d82dd4

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, cmake, protobuf }:
{ lib, stdenv, fetchurl, cmake, protobuf, libiconv }:
stdenv.mkDerivation rec {
pname = "jumanpp";
@ -8,8 +8,10 @@ stdenv.mkDerivation rec {
url = "https://github.com/ku-nlp/${pname}/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-ASdr6qbkSe71M7QmuuwidCa4xQhDVoXBJ2XqvSY53pQ=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ protobuf ];
buildInputs = [ protobuf ]
++ lib.optional stdenv.isDarwin libiconv;
meta = with lib; {
description = "A Japanese morphological analyser using a recurrent neural network language model (RNNLM)";