Skip to content

Commit

Permalink
pythonPackages.pyqtgraph: convert to pyqt5
Browse files Browse the repository at this point in the history
  • Loading branch information
drewrisinger authored and Jonathan Ringer committed Nov 24, 2020
1 parent 0851cfb commit e9a5187
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/development/python-modules/pyqtgraph/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, scipy
, numpy
, pyqt4
, pyopengl
, pyqt5
, scipy
}:

buildPythonPackage rec {
Expand All @@ -16,13 +16,16 @@ buildPythonPackage rec {
sha256 = "0p5k73wjfh0zzjvby8b5107cx7x0c2rdj66zh1nc8y95i0anf2na";
};

propagatedBuildInputs = [ scipy numpy pyqt4 pyopengl ];
propagatedBuildInputs = [ numpy pyopengl pyqt5 scipy ];

doCheck = false; # tries to create windows (QApps) on collection, which fails (probably due to no display)

doCheck = false; # "PyQtGraph requires either PyQt4 or PySide; neither package could be imported."
pythonImportsCheck = [ "pyqtgraph" ];

meta = with stdenv.lib; {
description = "Scientific Graphics and GUI Library for Python";
homepage = "http://www.pyqtgraph.org/";
changelog = "https://github.com/pyqtgraph/pyqtgraph/blob/master/CHANGELOG";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ koral ];
Expand Down

0 comments on commit e9a5187

Please sign in to comment.