2018-10-25 16:42:36 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, pytest
|
|
|
|
, pytz
|
|
|
|
, glibcLocales
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-10-25 09:06:56 +00:00
|
|
|
version = "0.9.3";
|
2018-10-25 16:42:36 +01:00
|
|
|
pname = "python-rapidjson";
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 09:06:56 +00:00
|
|
|
sha256 = "4e339edfbba9e5feed0cf44043b6befba0c780b34cdf446888dbce44de362a8a";
|
2018-10-25 16:42:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
LC_ALL="en_US.utf-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
|
|
|
# buildInputs = [ ];
|
|
|
|
checkInputs = [ pytest pytz ];
|
|
|
|
# propagatedBuildInputs = [ ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|