Merge pull request #240848 from natsukium/perfplot/fix

python310Packages.perfplot: fix build
This commit is contained in:
Martin Weinelt 2023-07-02 23:23:15 +02:00 committed by GitHub
commit e2bd12a62c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,9 @@
, buildPythonPackage
, fetchFromGitHub
, flit-core
, dufte
, matplotlib
, matplotx
, numpy
, pipdate
, tqdm
, rich
, pytestCheckHook
, pythonOlder
@ -16,6 +14,7 @@ buildPythonPackage rec {
pname = "perfplot";
version = "0.10.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
@ -30,25 +29,25 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
dufte
matplotlib
matplotx
numpy
pipdate
rich
tqdm
];
nativeCheckInputs = [
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 ];
broken = true; # missing matplotx dependency
};
}