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