python312Packages.plotnine: use nixfmt

This commit is contained in:
Fabian Affolter 2024-04-04 09:01:54 +02:00
parent 166d9daeb3
commit 9576c91f57

View File

@ -1,17 +1,18 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, geopandas
, matplotlib
, mizani
, pandas
, patsy
, pytestCheckHook
, pythonOlder
, scikit-misc
, scipy
, setuptools-scm
, statsmodels
{
lib,
buildPythonPackage,
fetchFromGitHub,
geopandas,
matplotlib,
mizani,
pandas,
patsy,
pytestCheckHook,
pythonOlder,
scikit-misc,
scipy,
setuptools-scm,
statsmodels,
}:
buildPythonPackage rec {
@ -28,15 +29,13 @@ buildPythonPackage rec {
hash = "sha256-ylsaV5yWVbxvD74spAI5tDwIjjue7MOMaGgp4Dc8Nhk=";
};
build-system = [
setuptools-scm
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail " --cov=plotnine --cov-report=xml" ""
'';
build-system = [ setuptools-scm ];
dependencies = [
matplotlib
mizani
@ -56,9 +55,7 @@ buildPythonPackage rec {
export HOME=$(mktemp -d)
'';
pythonImportsCheck = [
"plotnine"
];
pythonImportsCheck = [ "plotnine" ];
disabledTestPaths = [
# Assertion Errors: