2018-10-26 15:12:16 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, scipy
|
|
|
|
, numpy
|
|
|
|
, pyqt4
|
|
|
|
, pyopengl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyqtgraph";
|
2018-11-04 10:35:12 +00:00
|
|
|
version = "0.10.0";
|
2018-10-26 15:12:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:12 +00:00
|
|
|
sha256 = "4c08ab34881fae5ecf9ddfe6c1220b9e41e6d3eb1579a7d8ef501abb8e509251";
|
2018-10-26 15:12:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|