Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 691 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, scipy 5, numpy 6, pyqt4 7, pyopengl 8}: 9 10buildPythonPackage rec { 11 pname = "pyqtgraph"; 12 version = "0.11.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0p5k73wjfh0zzjvby8b5107cx7x0c2rdj66zh1nc8y95i0anf2na"; 17 }; 18 19 propagatedBuildInputs = [ scipy numpy pyqt4 pyopengl ]; 20 21 doCheck = false; # "PyQtGraph requires either PyQt4 or PySide; neither package could be imported." 22 23 meta = with stdenv.lib; { 24 description = "Scientific Graphics and GUI Library for Python"; 25 homepage = "http://www.pyqtgraph.org/"; 26 license = licenses.mit; 27 platforms = platforms.unix; 28 maintainers = with maintainers; [ koral ]; 29 }; 30 31}