depot/third_party/nixpkgs/pkgs/development/python-modules/pyicu/default.nix
Default email 48af15f7a5 Project import generated by Copybara.
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
2021-03-20 04:20:00 +00:00

30 lines
619 B
Nix

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