From 4a2ae2460139b8413d0cfbc09bb912a1845ec559 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 1 Jul 2023 13:31:46 +0900 Subject: [PATCH 1/2] python310Packages.perfplot: fix build --- pkgs/development/python-modules/perfplot/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/perfplot/default.nix b/pkgs/development/python-modules/perfplot/default.nix index 574bffb88b6c..faa65e22e387 100644 --- a/pkgs/development/python-modules/perfplot/default.nix +++ b/pkgs/development/python-modules/perfplot/default.nix @@ -2,11 +2,9 @@ , buildPythonPackage , fetchFromGitHub , flit-core -, dufte , matplotlib +, matplotx , numpy -, pipdate -, tqdm , rich , pytestCheckHook , pythonOlder @@ -30,12 +28,10 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - dufte matplotlib + matplotx numpy - pipdate rich - tqdm ]; nativeCheckInputs = [ @@ -49,6 +45,5 @@ buildPythonPackage rec { homepage = "https://github.com/nschloe/perfplot"; license = licenses.mit; maintainers = with maintainers; [ costrouc ]; - broken = true; # missing matplotx dependency }; } From 79a14b8a0ea54b819a7d4205017f83d539eca500 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 1 Jul 2023 21:40:55 +0200 Subject: [PATCH 2/2] python311Packages.perfplot: add changelog to meta --- pkgs/development/python-modules/perfplot/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/perfplot/default.nix b/pkgs/development/python-modules/perfplot/default.nix index faa65e22e387..96fa5309a81d 100644 --- a/pkgs/development/python-modules/perfplot/default.nix +++ b/pkgs/development/python-modules/perfplot/default.nix @@ -14,6 +14,7 @@ buildPythonPackage rec { pname = "perfplot"; version = "0.10.2"; format = "pyproject"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { @@ -38,11 +39,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "perfplot" ]; + pythonImportsCheck = [ + "perfplot" + ]; meta = with lib; { description = "Performance plots for Python code snippets"; homepage = "https://github.com/nschloe/perfplot"; + changelog = "https://github.com/nschloe/perfplot/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ costrouc ]; };