Commit 166d9dae authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.plotnine: refactor

parent 5e4002a7
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
{ 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;