Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 ipython, 8 matplotlib, 9 numpy, 10 pandas, 11 pytestCheckHook, 12}: 13 14buildPythonPackage rec { 15 pname = "summarytools"; 16 version = "0.3.0"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-m29ug+JZC4HgMIVopovA/dyR40Z1IcADOiDWKg9mzdc="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 ipython 30 matplotlib 31 numpy 32 pandas 33 ]; 34 35 nativeCheckImports = [ pytestCheckHook ]; 36 37 pythonImportsCheck = [ "summarytools" ]; 38 39 meta = with lib; { 40 description = "Python port of the R summarytools package for summarizing dataframes"; 41 homepage = "https://github.com/6chaoran/jupyter-summarytools"; 42 changelog = "https://github.com/6chaoran/jupyter-summarytools/releases/tag/v${version}"; 43 license = licenses.asl20; 44 maintainers = with maintainers; [ bcdarwin ]; 45 }; 46}