pythonPackages.pyqtgraph: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-26 10:12:16 -04:00
committed by Frederik Rietdijk
parent 52ea2961d5
commit 1597082a09
2 changed files with 32 additions and 21 deletions

View File

@@ -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 ];
};
}