Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 701 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.10.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "4c08ab34881fae5ecf9ddfe6c1220b9e41e6d3eb1579a7d8ef501abb8e509251"; 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}