2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-25 16:42:36 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, pytest
|
|
|
|
, pytz
|
|
|
|
, glibcLocales
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-11-29 14:04:40 +00:00
|
|
|
version = "0.9.4";
|
2018-10-25 16:42:36 +01:00
|
|
|
pname = "python-rapidjson";
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:40 +00:00
|
|
|
sha256 = "d79a412d7df30f01d3cb12e0e8863a48cfecd2fd7612719e16bc76eb1b65b332";
|
2018-10-25 16:42:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
LC_ALL="en_US.utf-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
|
|
|
# buildInputs = [ ];
|
|
|
|
checkInputs = [ pytest pytz ];
|
|
|
|
# propagatedBuildInputs = [ ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/python-rapidjson/python-rapidjson";
|
2018-10-25 16:42:36 +01:00
|
|
|
description = "Python wrapper around rapidjson ";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|