about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyqtgraph
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-26 10:12:16 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-27 09:07:21 +0200
commit1597082a090ba5b3c6253ff5c216c7c9d01ad636 (patch)
treee3d25210de84dfa6b4ac88ec392514dd7998c44b /pkgs/development/python-modules/pyqtgraph
parent52ea2961d51c095eae60d075b22e78ebcfb1dce1 (diff)
pythonPackages.pyqtgraph: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/pyqtgraph')
-rw-r--r--pkgs/development/python-modules/pyqtgraph/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyqtgraph/default.nix b/pkgs/development/python-modules/pyqtgraph/default.nix
new file mode 100644
index 0000000000000..5eb24f830c7df
--- /dev/null
+++ b/pkgs/development/python-modules/pyqtgraph/default.nix
@@ -0,0 +1,31 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, scipy
+, numpy
+, pyqt4
+, pyopengl
+}:
+
+buildPythonPackage rec {
+  pname = "pyqtgraph";
+  version = "0.9.10";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "188pcxf3sxxjf0aipjn820lx2rf9f42zzp0sibmcl90955a3ipf1";
+  };
+
+  propagatedBuildInputs = [ scipy numpy pyqt4 pyopengl ];
+
+  doCheck = false;  # "PyQtGraph requires either PyQt4 or PySide; neither package could be imported."
+
+  meta = with stdenv.lib; {
+    description = "Scientific Graphics and GUI Library for Python";
+    homepage = http://www.pyqtgraph.org/;
+    license = licenses.mit;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ koral ];
+  };
+
+}