diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-30 01:01:38 +0100 |
|---|---|---|
| committer | Jonathan Ringer <jonringer117@gmail.com> | 2021-11-30 18:52:56 -0800 |
| commit | 7fd5aa824c087f107adf3e78bdfa2b495c0205c8 (patch) | |
| tree | 312ac511777cbc069881b0dee6c0532bb1975aeb | |
| parent | python3Packages.pastescript: disable tests suite, doesn't respect PYTHONPATH (diff) | |
| download | nixpkgs-7fd5aa824c087f107adf3e78bdfa2b495c0205c8.tar.gz | |
python3Packages.adjusttext: add packaging
| -rw-r--r-- | pkgs/development/python-modules/adjusttext/default.nix | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/adjusttext/default.nix b/pkgs/development/python-modules/adjusttext/default.nix index 82613ffa52aa..9685f5c9969d 100644 --- a/pkgs/development/python-modules/adjusttext/default.nix +++ b/pkgs/development/python-modules/adjusttext/default.nix @@ -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"; |
