Commit 9576c91f authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.plotnine: use nixfmt

parent 166d9dae
Loading
Loading
Loading
Loading
+18 −21
Original line number Diff line number Diff line
{ 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: