1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, six
6, icu68
7}:
8
9buildPythonPackage rec {
10 pname = "PyICU";
11 version = "2.7.3";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1jv1pds94agvn3zs33a8p8f0mk7f5pjwmczmg1s05ri5p0kzk4h8";
16 };
17
18 nativeBuildInputs = [ icu68 ]; # for icu-config, but should be replaced with pkg-config
19 buildInputs = [ icu68 ];
20 checkInputs = [ pytestCheckHook six ];
21
22 meta = with lib; {
23 homepage = "https://github.com/ovalhub/pyicu/";
24 description = "Python extension wrapping the ICU C++ API";
25 license = licenses.mit;
26 platforms = platforms.unix;
27 };
28
29}