python312Packages.plotnine: refactor

This commit is contained in:
Fabian Affolter 2024-04-04 09:01:18 +02:00
parent 5e4002a77a
commit 166d9daeb3

View File

@ -1,17 +1,17 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools-scm
, geopandas
, matplotlib
, mizani
, pandas
, patsy
, scipy
, statsmodels
, geopandas
, pytestCheckHook
, pythonOlder
, scikit-misc
, scipy
, setuptools-scm
, statsmodels
}:
buildPythonPackage rec {
@ -28,16 +28,16 @@ buildPythonPackage rec {
hash = "sha256-ylsaV5yWVbxvD74spAI5tDwIjjue7MOMaGgp4Dc8Nhk=";
};
nativeBuildInputs = [
build-system = [
setuptools-scm
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=plotnine --cov-report=xml" ""
--replace-fail " --cov=plotnine --cov-report=xml" ""
'';
propagatedBuildInputs = [
dependencies = [
matplotlib
mizani
pandas
@ -103,7 +103,7 @@ buildPythonPackage rec {
];
meta = with lib; {
description = "Grammar of graphics for python";
description = "Grammar of graphics for Python";
homepage = "https://plotnine.readthedocs.io/";
changelog = "https://github.com/has2k1/plotnine/releases/tag/v${version}";
license = licenses.mit;