python310Packages.matplotx: init at 0.3.10 (#227075)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
co-authored by
Sandro
parent
24228faea7
commit
d4619023df
@@ -0,0 +1,64 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, matplotlib
|
||||
, numpy
|
||||
, networkx
|
||||
, pypng
|
||||
, scipy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matplotx";
|
||||
version = "0.3.10";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nschloe";
|
||||
repo = "matplotx";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-EWEiEY23uFwd/vgWVLCH/buUmgRqz1rqqlJEdXINYMg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
matplotlib
|
||||
numpy
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
all = [
|
||||
networkx
|
||||
pypng
|
||||
scipy
|
||||
];
|
||||
contour = [ networkx ];
|
||||
spy = [
|
||||
pypng
|
||||
scipy
|
||||
];
|
||||
};
|
||||
|
||||
checkInputs = passthru.optional-dependencies.all;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_spy.py" # Requires meshzoo (non-free) and pytest-codeblocks (not packaged)
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "matplotx" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/nschloe/matplotx";
|
||||
description = "More styles and useful extensions for Matplotlib";
|
||||
changelog = "https://github.com/nschloe/matplotx/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ swflint ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6123,6 +6123,8 @@ self: super: with self; {
|
||||
|
||||
matplotlib-inline = callPackage ../development/python-modules/matplotlib-inline { };
|
||||
|
||||
matplotx = callPackage ../development/python-modules/matplotx { };
|
||||
|
||||
matrix-api-async = callPackage ../development/python-modules/matrix-api-async { };
|
||||
|
||||
matrix-client = callPackage ../development/python-modules/matrix-client { };
|
||||
|
||||
Reference in New Issue
Block a user