Merge pull request #137462 from samuela/samuela/adjustText

python3Packages.adjusttext: init at 0.7.3
This commit is contained in:
Fabian Affolter 2021-09-24 09:13:51 +02:00 committed by GitHub
commit e4c6110264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ buildPythonPackage
, numpy
, matplotlib
, fetchFromGitHub
, lib
}:
buildPythonPackage rec {
pname = "adjusttext";
version = "0.7.3";
src = fetchFromGitHub {
owner = "Phlya";
repo = pname;
rev = version;
sha256 = "02apaznnnmwmrn342f22dj5dldn56gdl9v5qix07ah6kgp9503yw";
};
propagatedBuildInputs = [ matplotlib numpy ];
# 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";
license = licenses.mit;
maintainers = with maintainers; [ samuela ];
};
}

View File

@ -209,6 +209,8 @@ in {
adguardhome = callPackage ../development/python-modules/adguardhome { };
adjusttext = callPackage ../development/python-modules/adjusttext { };
advantage-air = callPackage ../development/python-modules/advantage-air { };
aemet-opendata = callPackage ../development/python-modules/aemet-opendata { };