2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-26 15:12:16 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, pyopengl
|
2020-11-24 00:40:37 +00:00
|
|
|
, pyqt5
|
|
|
|
, scipy
|
2018-10-26 15:12:16 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2020-11-24 00:40:37 +00:00
|
|
|
propagatedBuildInputs = [ numpy pyopengl pyqt5 scipy ];
|
|
|
|
|
|
|
|
doCheck = false; # tries to create windows (QApps) on collection, which fails (probably due to no display)
|
2018-10-26 15:12:16 +01:00
|
|
|
|
2020-11-24 00:40:37 +00:00
|
|
|
pythonImportsCheck = [ "pyqtgraph" ];
|
2018-10-26 15:12:16 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-26 15:12:16 +01:00
|
|
|
description = "Scientific Graphics and GUI Library for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.pyqtgraph.org/";
|
2020-11-24 00:40:37 +00:00
|
|
|
changelog = "https://github.com/pyqtgraph/pyqtgraph/blob/master/CHANGELOG";
|
2018-10-26 15:12:16 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|