1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, pytest
6, pytz
7, glibcLocales
8}:
9
10buildPythonPackage rec {
11 version = "0.7.0";
12 pname = "python-rapidjson";
13 disabled = pythonOlder "3.4";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "d9c1411b25600ea65bb534ad75bf4ab6efd9627abd86872f0e5453ff42220d06";
18 };
19
20 LC_ALL="en_US.utf-8";
21 buildInputs = [ glibcLocales ];
22
23 # buildInputs = [ ];
24 checkInputs = [ pytest pytz ];
25 # propagatedBuildInputs = [ ];
26
27 checkPhase = ''
28 pytest tests
29 '';
30
31 meta = with stdenv.lib; {
32 homepage = https://github.com/python-rapidjson/python-rapidjson;
33 description = "Python wrapper around rapidjson ";
34 license = licenses.mit;
35 maintainers = [ maintainers.costrouc ];
36 };
37}