2021-09-12 03:15:19 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, numpy
|
|
|
|
, matplotlib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-09-13 01:19:41 +01:00
|
|
|
pname = "adjusttext";
|
2021-09-12 03:15:19 +01:00
|
|
|
version = "0.7.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Phlya";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "02apaznnnmwmrn342f22dj5dldn56gdl9v5qix07ah6kgp9503yw";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ matplotlib numpy ];
|
|
|
|
|
2021-09-24 07:55:46 +01:00
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-09-12 03:15:19 +01:00
|
|
|
pythonImportsCheck = [ "adjustText" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";
|
2021-09-13 01:19:41 +01:00
|
|
|
homepage = "https://github.com/Phlya/adjustText";
|
|
|
|
license = licenses.mit;
|
2021-09-12 03:15:19 +01:00
|
|
|
maintainers = with maintainers; [ samuela ];
|
|
|
|
};
|
|
|
|
}
|