summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/scienceplots/default.nix
blob: 3a4e3656277eb972260f8e3d905dcf07ec4a898f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 = {
    description = "Matplotlib styles for scientific plotting";
    homepage = "https://github.com/garrettj403/SciencePlots";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ kilimnik ];
  };
}