add pythonImportsCheck

This commit is contained in:
Daniel Goertzen 2020-05-07 14:12:34 -05:00
parent 6adf6268ae
commit 5f57e9fcbe
2 changed files with 3 additions and 0 deletions

View file

@ -20,6 +20,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ freetype ]; propagatedBuildInputs = [ freetype ];
pythonImportsCheck = [ "freetype" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/rougier/freetype-py"; homepage = "https://github.com/rougier/freetype-py";
description = "FreeType (high-level Python API)"; description = "FreeType (high-level Python API)";

View file

@ -29,6 +29,7 @@ buildPythonPackage rec {
]; ];
doCheck = false; # otherwise runs OSX code on linux. doCheck = false; # otherwise runs OSX code on linux.
pythonImportsCheck = [ "vispy" ];
meta = with lib; { meta = with lib; {
homepage = "http://vispy.org/index.html"; homepage = "http://vispy.org/index.html";