pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / adjusttext / default.nix
blob550fd5f9db3081c63fa481813db70f9d22f351b9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   matplotlib,
6   numpy,
7   packaging,
8   pythonOlder,
9   scipy,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "adjusttext";
15   version = "1.3.0";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "Phlya";
22     repo = "adjusttext";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-WMWT2os3ADQOc1ogoCFKBEWnb6/CxgtiWmY45bYomks=";
25   };
27   build-system = [
28     packaging
29     setuptools
30   ];
32   dependencies = [
33     matplotlib
34     numpy
35     scipy
36   ];
38   # Project has no tests
39   doCheck = false;
41   pythonImportsCheck = [ "adjustText" ];
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   };