1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 pythonOlder, 6 pytest7CheckHook, 7 numpy, 8 pandas, 9 pytz, 10}: 11 12buildPythonPackage rec { 13 pname = "json-tricks"; 14 version = "3.17.3"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "mverleg"; 21 repo = "pyjson_tricks"; 22 tag = "v${version}"; 23 hash = "sha256-xddMc4PvVI+mqB3eeVqECZmdeSKAURsdbOnUAXahqM0="; 24 }; 25 26 nativeCheckInputs = [ 27 numpy 28 pandas 29 pytz 30 pytest7CheckHook 31 ]; 32 33 pythonImportsCheck = [ "json_tricks" ]; 34 35 meta = with lib; { 36 description = "Extra features for Python JSON handling"; 37 homepage = "https://github.com/mverleg/pyjson_tricks"; 38 license = licenses.bsd3; 39 maintainers = with maintainers; [ bcdarwin ]; 40 }; 41}