Merge pull request #123568 from stephank/fix-jumanpp-darwin

jumanpp: fix darwin build
This commit is contained in:
Jörg Thalheim 2021-05-18 21:11:46 +01:00 committed by GitHub
commit 50028940ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)";