11 buildPythonPackage rec {
14 format = "setuptools";
17 inherit pname version;
18 sha256 = "09j68kvcskav2cqb7pj12caksmj4wh2lhjp0csq00xpn0wqal4vk";
21 propagatedBuildInputs = [ six ];
24 export LDFLAGS="-L${cmigemo}/lib"
25 export CPPFLAGS="-I${cmigemo}/include"
26 export LD_LIBRARY_PATH="${cmigemo}/lib"
30 sed -i 's~dict_path_base = "/usr/share/cmigemo"~dict_path_base = "/${cmigemo}/share/migemo"~g' test/test_cmigemo.py
33 nativeCheckInputs = [ pytestCheckHook ];
35 pytestFlagsArray = [ "test/" ];
37 pythonImportsCheck = [ "cmigemo" ];
40 broken = stdenv.hostPlatform.isDarwin;
41 homepage = "https://github.com/mooz/python-cmigemo";
42 description = "Pure python binding for C/Migemo";
43 license = licenses.mit;
44 maintainers = with maintainers; [ illustris ];