python3Packages.traitsui: add pythonImportsCheck
This commit is contained in:
parent
0d9289ca44
commit
70a30de1cf
1 changed files with 21 additions and 6 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue