python3Packages.pingouin: init at 0.6.1

This commit is contained in:
Joanes Grandjean
2026-06-22 23:22:51 +02:00
parent 45873f101e
commit c67d9af39c
2 changed files with 80 additions and 0 deletions
@@ -0,0 +1,78 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# test framework
pytestCheckHook,
# dependencies
matplotlib,
numpy,
pandas,
pandas-flavor,
scikit-learn,
scipy,
seaborn,
statsmodels,
tabulate,
# optional dependencies
mpmath,
}:
buildPythonPackage (finalAttrs: {
pname = "pingouin";
version = "0.6.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "raphaelvallat";
repo = "pingouin";
tag = "v${finalAttrs.version}";
hash = "sha256-22nVAw6qbYwumwVJr/ZZD2HSpgD+9onnMe/hULjQHZI=";
};
build-system = [
setuptools
];
dependencies = [
matplotlib
numpy
pandas
pandas-flavor
scikit-learn
scipy
seaborn
statsmodels
tabulate
];
passthru.optional-dependencies = {
extras = [
mpmath
];
};
nativeCheckInputs = [
pytestCheckHook
]
++ finalAttrs.passthru.optional-dependencies.extras;
pythonImportsCheck = [
"pingouin"
];
meta = {
description = "Statistical package in Python based on Pandas";
homepage = "https://github.com/raphaelvallat/pingouin";
changelog = "https://github.com/raphaelvallat/pingouin/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ grandjeanlab ];
};
})
+2
View File
@@ -12712,6 +12712,8 @@ self: super: with self; {
ping3 = callPackage ../development/python-modules/ping3 { };
pingouin = callPackage ../development/python-modules/pingouin { };
pinocchio = callPackage ../development/python-modules/pinocchio { inherit (pkgs) pinocchio; };
pins = callPackage ../development/python-modules/pins { };