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

30 lines
638 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2021-03-24 19:46:49 +00:00
, pytestCheckHook
, six
2021-05-18 03:28:13 +01:00
, icu68
}:
buildPythonPackage rec {
pname = "PyICU";
2021-06-18 22:47:32 +01:00
version = "2.7.4";
src = fetchPypi {
inherit pname version;
2021-06-18 22:47:32 +01:00
sha256 = "c0655302e2aea16f9acefe04152f74e5d7d70542e9e15c89ee8d763c8e097f56";
};
2021-05-18 03:28:13 +01:00
nativeBuildInputs = [ icu68 ]; # for icu-config, but should be replaced with pkg-config
buildInputs = [ icu68 ];
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;
};
}