python3Packages.traitsui: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-03-10 23:48:01 +01:00 committed by GitHub
parent 0d9289ca44
commit 70a30de1cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,39 @@
{ lib, fetchPypi, buildPythonPackage
, traits, pyface, six
{ lib
, fetchPypi
, buildPythonPackage
, traits
, pyface
, pythonOlder
}:
buildPythonPackage rec {
pname = "traitsui";
version = "7.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ZkSz+PYColdgcC3IchuneM51lFBAk68UpIadI56GdPQ=";
hash = "sha256-ZkSz+PYColdgcC3IchuneM51lFBAk68UpIadI56GdPQ=";
};
propagatedBuildInputs = [ traits pyface six ];
propagatedBuildInputs = [
traits
pyface
];
doCheck = false; # Needs X server
# Needs X server
doCheck = false;
pythonImportsCheck = [
"traitsui"
];
meta = with lib; {
description = "Traits-capable windowing framework";
homepage = "https://github.com/enthought/traitsui";
maintainers = with maintainers; [ knedlsepp ];
license = licenses.bsdOriginal;
maintainers = with maintainers; [ knedlsepp ];
};
}