summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-07-07 17:15:59 -0400
committerGitHub <noreply@github.com>2020-07-07 17:15:59 -0400
commit465ca1afe5671c9c47f50294e3625201a8153402 (patch)
tree790c12942766dada13306d03be79ba6f325f1c0a /pkgs
parent48b6f0eabb5479abc3a69c1395c2353eb73ed57d (diff)
parent82f2f1bd78dafbf6874ab7cfcd627e0b5407a6c0 (diff)
downloadnixpkgs-465ca1afe5671c9c47f50294e3625201a8153402.tar
nixpkgs-465ca1afe5671c9c47f50294e3625201a8153402.tar.gz
nixpkgs-465ca1afe5671c9c47f50294e3625201a8153402.tar.bz2
nixpkgs-465ca1afe5671c9c47f50294e3625201a8153402.tar.lz
nixpkgs-465ca1afe5671c9c47f50294e3625201a8153402.tar.xz
nixpkgs-465ca1afe5671c9c47f50294e3625201a8153402.tar.zst
nixpkgs-465ca1afe5671c9c47f50294e3625201a8153402.zip
Merge pull request #92633 from jonringer/statsmodels-disable-py2
python2Packages.statsmodels: disable py2, abandonded
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/statsmodels/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/statsmodels/default.nix b/pkgs/development/python-modules/statsmodels/default.nix
index c65fb0990f0..697bb624fe7 100644
--- a/pkgs/development/python-modules/statsmodels/default.nix
+++ b/pkgs/development/python-modules/statsmodels/default.nix
@@ -1,7 +1,7 @@
 { lib
-, self
 , buildPythonPackage
 , fetchPypi
+, isPy27
 , nose
 , numpy
 , scipy
@@ -20,11 +20,13 @@ buildPythonPackage rec {
     sha256 = "5bde3fa0a35a91b45dba7cbc28270b5b649ff1d721c89290883f6e831672d5f0";
   };
 
-  checkInputs = with self; [ nose ];
-  propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
+  nativeBuildInputs = [ cython ];
+  checkInputs = [ nose ];
+  propagatedBuildInputs = [ numpy scipy pandas patsy matplotlib ];
 
   # Huge test suites with several test failures
   doCheck = false;
+  pythonImportsCheck = [ "statsmodels" ];
 
   meta = {
     description = "Statistical computations and models for use with SciPy";