blob: a46cf5080c7c9d0755efcdff74f4c6ee258950c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, ipython
, matplotlib
, numpy
, pandas
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "summarytools";
version = "0.2.3";
format = "pyproject";
disabled = pythonOlder "3.7";
# no version tags in GitHub repo
src = fetchPypi {
inherit pname version;
hash = "sha256-wsDf9IXCMQe0cVfQQuRVwMhxkhhUxbPu06yWZPLvgw4=";
};
propagatedBuildInputs = [
ipython
matplotlib
numpy
pandas
];
nativeCheckImports = [ pytestCheckHook ];
pythonImportsCheck = [ "summarytools" ];
meta = with lib; {
description = "Python port of the R summarytools package for summarizing dataframes";
homepage = "https://github.com/6chaoran/jupyter-summarytools";
license = licenses.asl20;
maintainers = with maintainers; [ bcdarwin ];
};
}
|