nixpkgs/pkgs/development/python-modules/pyicu/default.nix

30 lines
578 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2021-03-24 19:46:49 +00:00
, pytestCheckHook
, six
, icu
}:
buildPythonPackage rec {
pname = "PyICU";
2021-03-24 19:46:49 +00:00
version = "2.6";
src = fetchPypi {
inherit pname version;
2021-03-24 19:46:49 +00:00
sha256 = "0wb3v421i2fnnxdywam4ay8hqvnxlz0r2nrpx5lqy3rn6dlbz9d9";
};
nativeBuildInputs = [ icu ]; # for icu-config
buildInputs = [ icu ];
2021-03-24 19:46:49 +00:00
checkInputs = [ pytestCheckHook six ];
meta = with lib; {
2021-03-24 19:46:49 +00:00
homepage = "https://github.com/ovalhub/pyicu/";
description = "Python extension wrapping the ICU C++ API";
license = licenses.mit;
platforms = platforms.unix;
};
}