mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-17 01:23:48 +00:00
python3PAckages.python-rapidjson: init at 0.6.3
This commit is contained in:
parent
b89aa04c12
commit
e3bf962bb8
37
pkgs/development/python-modules/python-rapidjson/default.nix
Normal file
37
pkgs/development/python-modules/python-rapidjson/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytest
|
||||
, pytz
|
||||
, glibcLocales
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.6.3";
|
||||
pname = "python-rapidjson";
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0a7729c711d9be2b6c0638ce4851d398e181f2329814668aa7fda6421a5da085";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -596,6 +596,8 @@ in {
|
|||
|
||||
python-prctl = callPackage ../development/python-modules/python-prctl { };
|
||||
|
||||
python-rapidjson = callPackage ../development/python-modules/python-rapidjson { };
|
||||
|
||||
python-sql = callPackage ../development/python-modules/python-sql { };
|
||||
|
||||
python-stdnum = callPackage ../development/python-modules/python-stdnum { };
|
||||
|
|
Loading…
Reference in a new issue