3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.adjustText: init at 0.7.3

This commit is contained in:
Samuel Ainsworth 2021-09-12 02:15:19 +00:00
parent 2ce4d21663
commit ef98e15e38
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ 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 ];
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 { };