depot/third_party/nixpkgs/pkgs/development/python-modules/summarytools/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

44 lines
882 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, ipython
, matplotlib
, numpy
, pandas
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "summarytools";
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.7";
# no version tags in GitHub repo
src = fetchPypi {
inherit pname version;
hash = "sha256-wsDf9IXCMQe0cVfQQuRVwMhxkhhUxbPu06yWZPLvgw4=";
};
nativeBuildInputs = [ setuptools ];
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 ];
};
}