fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
46 lines
939 B
Nix
46 lines
939 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
ipython,
|
|
matplotlib,
|
|
numpy,
|
|
pandas,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "summarytools";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-m29ug+JZC4HgMIVopovA/dyR40Z1IcADOiDWKg9mzdc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
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";
|
|
changelog = "https://github.com/6chaoran/jupyter-summarytools/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
};
|
|
}
|