3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/traitsui/default.nix
2022-03-15 09:45:24 +00:00

40 lines
689 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, traits
, pyface
, pythonOlder
}:
buildPythonPackage rec {
pname = "traitsui";
version = "7.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-lHStZ/NF2Wsya0AemgFAXICCyS+kO/R8CwOYGOWHrGk=";
};
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 ];
};
}