Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
956 B
Nix
51 lines
956 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
matplotlib,
|
|
numpy,
|
|
packaging,
|
|
pythonOlder,
|
|
scipy,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "adjusttext";
|
|
version = "1.3.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
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 = with lib; {
|
|
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 = licenses.mit;
|
|
maintainers = with maintainers; [ samuela ];
|
|
};
|
|
}
|