python3Packages.adjusttext: add packaging

This commit is contained in:
Fabian Affolter 2021-11-30 01:01:38 +01:00 committed by Jonathan Ringer
parent 19142373db
commit 7fd5aa824c
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,13 +1,15 @@
{ buildPythonPackage
, numpy
, matplotlib
{ lib
, buildPythonPackage
, fetchFromGitHub
, lib
, matplotlib
, numpy
, packaging
}:
buildPythonPackage rec {
pname = "adjusttext";
version = "0.7.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "Phlya";
@ -16,12 +18,21 @@ buildPythonPackage rec {
sha256 = "02apaznnnmwmrn342f22dj5dldn56gdl9v5qix07ah6kgp9503yw";
};
propagatedBuildInputs = [ matplotlib numpy ];
nativeBuildInputs = [
packaging
];
propagatedBuildInputs = [
matplotlib
numpy
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "adjustText" ];
pythonImportsCheck = [
"adjustText"
];
meta = with lib; {
description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";