From 5f57e9fcbe9ea685760412cdcc9c68aa1f874538 Mon Sep 17 00:00:00 2001 From: Daniel Goertzen Date: Thu, 7 May 2020 14:12:34 -0500 Subject: [PATCH] add pythonImportsCheck --- pkgs/development/python-modules/freetype-py/default.nix | 2 ++ pkgs/development/python-modules/vispy/default.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/freetype-py/default.nix b/pkgs/development/python-modules/freetype-py/default.nix index 71b29a54d827..a1259b85673a 100644 --- a/pkgs/development/python-modules/freetype-py/default.nix +++ b/pkgs/development/python-modules/freetype-py/default.nix @@ -20,6 +20,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ freetype ]; + pythonImportsCheck = [ "freetype" ]; + meta = with lib; { homepage = "https://github.com/rougier/freetype-py"; description = "FreeType (high-level Python API)"; diff --git a/pkgs/development/python-modules/vispy/default.nix b/pkgs/development/python-modules/vispy/default.nix index 61fb42dd2eb8..029132933a9b 100644 --- a/pkgs/development/python-modules/vispy/default.nix +++ b/pkgs/development/python-modules/vispy/default.nix @@ -29,6 +29,7 @@ buildPythonPackage rec { ]; doCheck = false; # otherwise runs OSX code on linux. + pythonImportsCheck = [ "vispy" ]; meta = with lib; { homepage = "http://vispy.org/index.html";