about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/statsmodels/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/statsmodels/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/statsmodels/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/statsmodels/default.nix b/nixpkgs/pkgs/development/python-modules/statsmodels/default.nix
new file mode 100644
index 000000000000..ba26ba5e651c
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/statsmodels/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, self
+, buildPythonPackage
+, fetchPypi
+, nose
+, numpy
+, scipy
+, pandas
+, patsy
+, cython
+, matplotlib
+}:
+
+buildPythonPackage rec {
+  pname = "statsmodels";
+  version = "0.9.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "6461f93a842c649922c2c9a9bc9d9c4834110b89de8c4af196a791ab8f42ba3b";
+  };
+
+  checkInputs = with self; [ nose ];
+  propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
+
+  # Huge test suites with several test failures
+  doCheck = false;
+
+  meta = {
+    description = "Statistical computations and models for use with SciPy";
+    homepage = https://www.github.com/statsmodels/statsmodels;
+    license = lib.licenses.bsd3;
+    maintainers = with lib.maintainers; [ fridh ];
+  };
+}