From 166d9daeb3095ffd47ebb385f55be57c83d08a71 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 09:01:18 +0200 Subject: [PATCH] python312Packages.plotnine: refactor --- .../python-modules/plotnine/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/plotnine/default.nix b/pkgs/development/python-modules/plotnine/default.nix index 3102fd91ac3c..46620dafd5db 100644 --- a/pkgs/development/python-modules/plotnine/default.nix +++ b/pkgs/development/python-modules/plotnine/default.nix @@ -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;