Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 745 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pytest 6, pytz 7, glibcLocales 8}: 9 10buildPythonPackage rec { 11 version = "1.0"; 12 pname = "python-rapidjson"; 13 disabled = pythonOlder "3.4"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "a61fa61e41b0b85ba9e78444242fddcb3be724de1df79314e6b4766b66e4e11c"; 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 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}