git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #123568 from stephank/fix-jumanpp-darwin

jumanpp: fix darwin build

commit50028940ce600b36ae99a87691b671fade66f367 authorJörg Thalheim <Mic92@users.noreply.github.com> dateTue 18 May 2021, 21:11 (6 years ago) parent0f2364e06b0d82
1 file changed+4−2
pkgs/tools/text/jumanpp/default.nix+4−2
pkgs/tools/text/jumanpp/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, cmake, protobuf }:
1+{ lib, stdenv, fetchurl, cmake, protobuf, libiconv }:
22
33stdenv.mkDerivation rec {
44 pname = "jumanpp";
@@ -8,8 +8,10 @@ stdenv.mkDerivation rec {
88 url = "https://github.com/ku-nlp/${pname}/releases/download/v${version}/${pname}-${version}.tar.xz";
99 sha256 = "sha256-ASdr6qbkSe71M7QmuuwidCa4xQhDVoXBJ2XqvSY53pQ=";
1010 };
11+
1112 nativeBuildInputs = [ cmake ];
12− buildInputs = [ protobuf ];
13+ buildInputs = [ protobuf ]
14+ ++ lib.optional stdenv.isDarwin libiconv;
1315
1416 meta = with lib; {
1517 description = "A Japanese morphological analyser using a recurrent neural network language model (RNNLM)";