Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / adjusttext / default.nix
blob6f4ca01a7ac0d71302969d20eeba32630df3b571
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , matplotlib
5 , numpy
6 , packaging
7 , pythonOlder
8 , scipy
9 , setuptools
12 buildPythonPackage rec {
13   pname = "adjusttext";
14   version = "1.1.1";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "Phlya";
21     repo = "adjusttext";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-o/TA/br7sJAcvfIR4uA7a6XRf/enJ/x7N4ys6Of0j3g=";
24   };
26   nativeBuildInputs = [
27     packaging
28     setuptools
29   ];
31   propagatedBuildInputs = [
32     matplotlib
33     numpy
34     scipy
35   ];
37   # Project has no tests
38   doCheck = false;
40   pythonImportsCheck = [
41     "adjustText"
42   ];
44   meta = with lib; {
45     description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";
46     homepage = "https://github.com/Phlya/adjustText";
47     changelog = "https://github.com/Phlya/adjustText/releases/tag/v${version}";
48     license = licenses.mit;
49     maintainers = with maintainers; [ samuela ];
50   };