mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
282c02f642
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-python-rapidjson/versions
38 lines
743 B
Nix
38 lines
743 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, pytest
|
|
, pytz
|
|
, glibcLocales
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.7.2";
|
|
pname = "python-rapidjson";
|
|
disabled = pythonOlder "3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0z8wzl5mjzs97y7sbhlm59kak3z377xln3z8lkjwrsh2sh5c9x3v";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|