My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/pyicu/default.nix

30 lines
630 B

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, six
, icu
}:
buildPythonPackage rec {
pname = "PyICU";
version = "2.8";
src = fetchPypi {
inherit pname version;
sha256 = "3d80de47045a8163db5aebc947c42b4d429eeea4f0c32af4f40b33981fa872b9";
};
nativeBuildInputs = [ icu ]; # for icu-config, but should be replaced with pkg-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;
};
}