1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 matplotlib,
7}:
8
9buildPythonPackage rec {
10 pname = "SciencePlots";
11 version = "2.1.1";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-2NGX40EPh+va0LnCZeqrWWCU+wgtlxI+g19rwygAq1Q=";
17 };
18
19 build-system = [ setuptools ];
20
21 dependencies = [ matplotlib ];
22
23 pythonImportsCheck = [ "scienceplots" ];
24
25 doCheck = false; # no tests
26
27 meta = with lib; {
28 description = "Matplotlib styles for scientific plotting";
29 homepage = "https://github.com/garrettj403/SciencePlots";
30 license = licenses.mit;
31 maintainers = with maintainers; [ kilimnik ];
32 };
33}