My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/adjusttext/default.nix

43 lines
789 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, numpy
, packaging
}:
buildPythonPackage rec {
pname = "adjusttext";
version = "0.7.3.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "Phlya";
repo = pname;
rev = version;
sha256 = "1a6hizx1cnplj0irn8idgda2lacsb61dw464cwx798pjr1gd401n";
};
nativeBuildInputs = [
packaging
];
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 ];
};
}