From efc94d3154f474deccc9c51c5391249541b606ad Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:06:26 -0700 Subject: [PATCH 1/2] python3.pkgs.pyregion: add missing cython dependency --- pkgs/development/python-modules/pyregion/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pyregion/default.nix b/pkgs/development/python-modules/pyregion/default.nix index 115729b647668..30c63528514f2 100644 --- a/pkgs/development/python-modules/pyregion/default.nix +++ b/pkgs/development/python-modules/pyregion/default.nix @@ -29,6 +29,7 @@ buildPythonPackage rec { pyparsing numpy astropy + cython ]; # Upstream patches needed for the tests to pass From 4afdd81f39361335a704f1618b2910b7e69b06f4 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:05:43 -0700 Subject: [PATCH 2/2] python3.pkgs.aplpy: dependency cleanup --- pkgs/development/python-modules/aplpy/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aplpy/default.nix b/pkgs/development/python-modules/aplpy/default.nix index ac00576cc297b..0304a8eff852a 100644 --- a/pkgs/development/python-modules/aplpy/default.nix +++ b/pkgs/development/python-modules/aplpy/default.nix @@ -1,8 +1,6 @@ { lib , astropy -, astropy-helpers , buildPythonPackage -, cython , fetchpatch , fetchPypi , matplotlib @@ -15,7 +13,10 @@ , pythonOlder , reproject , scikit-image +, setuptools +, setuptools-scm , shapely +, wheel }: buildPythonPackage rec { @@ -32,12 +33,13 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - astropy-helpers + setuptools + setuptools-scm + wheel ]; propagatedBuildInputs = [ astropy - cython matplotlib numpy pillow