python3Packages.scienceplots: init at 2.1.1 (#318346)

This commit is contained in:
Aleksana 2024-11-01 17:21:13 +08:00 committed by GitHub
commit 648446fcb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
matplotlib,
}:
buildPythonPackage rec {
pname = "SciencePlots";
version = "2.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-2NGX40EPh+va0LnCZeqrWWCU+wgtlxI+g19rwygAq1Q=";
};
build-system = [ setuptools ];
dependencies = [ matplotlib ];
pythonImportsCheck = [ "scienceplots" ];
doCheck = false; # no tests
meta = with lib; {
description = "Matplotlib styles for scientific plotting";
homepage = "https://github.com/garrettj403/SciencePlots";
license = licenses.mit;
maintainers = with maintainers; [ kilimnik ];
};
}

View File

@ -14103,6 +14103,8 @@ self: super: with self; {
schwifty = callPackage ../development/python-modules/schwifty { };
scienceplots = callPackage ../development/python-modules/scienceplots { };
scim2-filter-parser = callPackage ../development/python-modules/scim2-filter-parser { };
scikit-bio = callPackage ../development/python-modules/scikit-bio { };