nixpkgs-suyu/pkgs/development/python-modules/traitsui/default.nix
2022-03-10 23:48:01 +01:00

39 lines
689 B
Nix

{ 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;
hash = "sha256-ZkSz+PYColdgcC3IchuneM51lFBAk68UpIadI56GdPQ=";
};
propagatedBuildInputs = [
traits
pyface
];
# Needs X server
doCheck = false;
pythonImportsCheck = [
"traitsui"
];
meta = with lib; {
description = "Traits-capable windowing framework";
homepage = "https://github.com/enthought/traitsui";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ knedlsepp ];
};
}