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 /pkgs/development/python-modules/adjusttext | |
parent | 19142373dbd699bbf66eb1fe36ff4db458ac5cfb (diff) |
python3Packages.adjusttext: add packaging
Diffstat (limited to 'pkgs/development/python-modules/adjusttext')
-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 82613ffa52aa0..9685f5c9969db 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"; |