30 lines
626 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2021-03-24 15:46:49 -04:00
, pytestCheckHook
, six
2021-05-17 22:28:13 -04:00
, icu68
}:
buildPythonPackage rec {
pname = "PyICU";
2021-05-17 21:11:34 -04:00
version = "2.7.3";
src = fetchPypi {
inherit pname version;
2021-05-17 21:11:34 -04:00
sha256 = "1jv1pds94agvn3zs33a8p8f0mk7f5pjwmczmg1s05ri5p0kzk4h8";
};
2021-05-17 22:28:13 -04:00
nativeBuildInputs = [ icu68 ]; # for icu-config, but should be replaced with pkg-config
buildInputs = [ icu68 ];
2021-03-24 15:46:49 -04:00
checkInputs = [ pytestCheckHook six ];
meta = with lib; {
2021-03-24 15:46:49 -04:00
homepage = "https://github.com/ovalhub/pyicu/";
description = "Python extension wrapping the ICU C++ API";
license = licenses.mit;
platforms = platforms.unix;
};
}