depot/third_party/nixpkgs/pkgs/development/python-modules/traitsui/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

39 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 ];
};
}