1 { lib, buildPythonPackage, substituteAll, stdenv,
2 fetchPypi, numpy, cython, freetype-py, fontconfig, libGL,
3 setuptools_scm, setuptools-scm-git-archive
6 buildPythonPackage rec {
11 inherit pname version;
12 sha256 = "6f3c4d00be9e6761c046d520a86693d78a0925d47eeb2fc095e95dac776f74ee";
17 src = ./library-paths.patch;
18 fontconfig = "${fontconfig.lib}/lib/libfontconfig${stdenv.hostPlatform.extensions.sharedLibrary}";
19 gl = "${libGL.out}/lib/libGL${stdenv.hostPlatform.extensions.sharedLibrary}";
24 cython setuptools_scm setuptools-scm-git-archive
27 propagatedBuildInputs = [
28 numpy freetype-py fontconfig libGL
31 doCheck = false; # otherwise runs OSX code on linux.
32 pythonImportsCheck = [ "vispy" ];
35 homepage = "http://vispy.org/index.html";
36 description = "Interactive scientific visualization in Python";
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ goertzenator ];