3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #237773 from bcdarwin/python3-summarytools

python310Packages.summarytools: init at 0.2.3
This commit is contained in:
Fabian Affolter 2023-06-18 10:42:29 +02:00 committed by GitHub
commit ffb530d097
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -11841,6 +11841,8 @@ self: super: with self; {
sumtypes = callPackage ../development/python-modules/sumtypes { };
summarytools = callPackage ../development/python-modules/summarytools { };
sunpy = callPackage ../development/python-modules/sunpy { };
sunwatcher = callPackage ../development/python-modules/sunwatcher { };