1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 matplotlib, 6 numpy, 7 packaging, 8 pythonOlder, 9 scipy, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "adjusttext"; 15 version = "1.3.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "Phlya"; 22 repo = "adjusttext"; 23 tag = "v${version}"; 24 hash = "sha256-WMWT2os3ADQOc1ogoCFKBEWnb6/CxgtiWmY45bYomks="; 25 }; 26 27 build-system = [ 28 packaging 29 setuptools 30 ]; 31 32 dependencies = [ 33 matplotlib 34 numpy 35 scipy 36 ]; 37 38 # Project has no tests 39 doCheck = false; 40 41 pythonImportsCheck = [ "adjustText" ]; 42 43 meta = with lib; { 44 description = "Iteratively adjust text position in matplotlib plots to minimize overlaps"; 45 homepage = "https://github.com/Phlya/adjustText"; 46 changelog = "https://github.com/Phlya/adjustText/releases/tag/v${version}"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ samuela ]; 49 }; 50}