1{ buildPythonPackage
2, numpy
3, matplotlib
4, fetchFromGitHub
5, lib
6}:
7
8buildPythonPackage rec {
9 pname = "adjusttext";
10 version = "0.7.3";
11
12 src = fetchFromGitHub {
13 owner = "Phlya";
14 repo = pname;
15 rev = version;
16 sha256 = "02apaznnnmwmrn342f22dj5dldn56gdl9v5qix07ah6kgp9503yw";
17 };
18
19 propagatedBuildInputs = [ matplotlib numpy ];
20
21 # Project has no tests
22 doCheck = false;
23
24 pythonImportsCheck = [ "adjustText" ];
25
26 meta = with lib; {
27 description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";
28 homepage = "https://github.com/Phlya/adjustText";
29 license = licenses.mit;
30 maintainers = with maintainers; [ samuela ];
31 };
32}