Something went wrong. Try again.
lol
Something went wrong. Try again.
906 B · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ 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 ]; };}