2018-10-25 16:42:36 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, pytest
|
|
|
|
, pytz
|
|
|
|
, glibcLocales
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-08-05 23:29:14 +01:00
|
|
|
version = "0.7.2";
|
2018-10-25 16:42:36 +01:00
|
|
|
pname = "python-rapidjson";
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-05 23:29:14 +01:00
|
|
|
sha256 = "0z8wzl5mjzs97y7sbhlm59kak3z377xln3z8lkjwrsh2sh5c9x3v";
|
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; {
|
|
|
|
homepage = https://github.com/python-rapidjson/python-rapidjson;
|
|
|
|
description = "Python wrapper around rapidjson ";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|