From 06bcb5c21bc2767332cef7d90bdb3cd6422b476d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 19 Mar 2019 15:28:32 +0100 Subject: [PATCH 1/2] python.pkgs.mecab-python3: fix build fallout of https://github.com/NixOS/nixpkgs/pull/54182 --- .../python-modules/mecab-python3/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mecab-python3/default.nix b/pkgs/development/python-modules/mecab-python3/default.nix index 1a2cce8f110f..b961d56f8256 100644 --- a/pkgs/development/python-modules/mecab-python3/default.nix +++ b/pkgs/development/python-modules/mecab-python3/default.nix @@ -1,7 +1,8 @@ { lib , buildPythonPackage -, mecab , fetchPypi +, mecab +, swig }: buildPythonPackage rec { @@ -13,7 +14,12 @@ buildPythonPackage rec { sha256 = "5aca4d0d196161e41452b89921042c0e61a6b7e7e9373211c0c1c50d1809055d"; }; - propagatedBuildInputs = [ mecab ]; + nativeBuildInputs = [ + mecab # for mecab-config + swig + ]; + + buildInputs = [ mecab ]; meta = with lib; { description = "A python wrapper for mecab: Morphological Analysis engine"; From deb20c14a2157600e05bddbb74415c5d6435e999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 19 Mar 2019 15:30:50 +0100 Subject: [PATCH 2/2] python.pkgs.mecab-python3: correct meta --- pkgs/development/python-modules/mecab-python3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mecab-python3/default.nix b/pkgs/development/python-modules/mecab-python3/default.nix index b961d56f8256..c68fb90952e5 100644 --- a/pkgs/development/python-modules/mecab-python3/default.nix +++ b/pkgs/development/python-modules/mecab-python3/default.nix @@ -23,8 +23,8 @@ buildPythonPackage rec { meta = with lib; { description = "A python wrapper for mecab: Morphological Analysis engine"; - homepage = https://github.com/LuminosoInsight/wordfreq/; - license = licenses.bsd0; + homepage = https://github.com/SamuraiT/mecab-python3; + license = with licenses; [ gpl2 lgpl21 bsd3 ]; # any of the three maintainers = with maintainers; [ ixxie ]; }; }