Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 822 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, pyopengl 6, pyqt5 7, scipy 8}: 9 10buildPythonPackage rec { 11 pname = "pyqtgraph"; 12 version = "0.11.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "7d1417f36b5b92d1365671633a91711513e5afbcc82f32475d0690317607714e"; 17 }; 18 19 propagatedBuildInputs = [ numpy pyopengl pyqt5 scipy ]; 20 21 doCheck = false; # tries to create windows (QApps) on collection, which fails (probably due to no display) 22 23 pythonImportsCheck = [ "pyqtgraph" ]; 24 25 meta = with lib; { 26 description = "Scientific Graphics and GUI Library for Python"; 27 homepage = "http://www.pyqtgraph.org/"; 28 changelog = "https://github.com/pyqtgraph/pyqtgraph/blob/master/CHANGELOG"; 29 license = licenses.mit; 30 platforms = platforms.unix; 31 maintainers = with maintainers; [ koral ]; 32 }; 33 34}