3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/python-rapidjson/default.nix
2019-09-28 14:28:33 -07:00

38 lines
743 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
, pytz
, glibcLocales
}:
buildPythonPackage rec {
version = "0.8.0";
pname = "python-rapidjson";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "13fgy5bqslx913p9gachj9djk3g6wx1igwaccfnxjl2msrbwclwp";
};
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 ];
};
}