blob: dd45d9ebbb08783ac2574eec99c32138f30948b0 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
matplotlib,
numpy,
packaging,
scipy,
setuptools,
}:
buildPythonPackage rec {
pname = "adjusttext";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Phlya";
repo = "adjusttext";
tag = "v${version}";
hash = "sha256-WMWT2os3ADQOc1ogoCFKBEWnb6/CxgtiWmY45bYomks=";
};
build-system = [
packaging
setuptools
];
dependencies = [
matplotlib
numpy
scipy
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "adjustText" ];
meta = {
description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";
homepage = "https://github.com/Phlya/adjustText";
changelog = "https://github.com/Phlya/adjustText/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ samuela ];
};
}
|