2018-10-26 15:12:16 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, scipy
|
|
|
|
, numpy
|
|
|
|
, pyqt4
|
|
|
|
, pyopengl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyqtgraph";
|
2020-07-06 22:48:39 +01:00
|
|
|
version = "0.11.0";
|
2018-10-26 15:12:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 22:48:39 +01:00
|
|
|
sha256 = "0p5k73wjfh0zzjvby8b5107cx7x0c2rdj66zh1nc8y95i0anf2na";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.pyqtgraph.org/";
|
2018-10-26 15:12:16 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|