depot/third_party/nixpkgs/pkgs/development/python-modules/pyface/default.nix
Default email 7d542a9f98 Project import generated by Copybara.
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
2022-12-02 08:20:57 +00:00

41 lines
830 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, importlib-metadata
, importlib-resources
, traits
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyface";
version = "7.4.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-ds0e4C6UaVH7bCt/+YDduJEhQ31hq15t/epaeTZ9kDY=";
};
propagatedBuildInputs = [
importlib-metadata
importlib-resources
traits
];
doCheck = false; # Needs X server
pythonImportsCheck = [
"pyface"
];
meta = with lib; {
description = "Traits-capable windowing framework";
homepage = "https://github.com/enthought/pyface";
changelog = "https://github.com/enthought/pyface/releases/tag/${version}";
maintainers = with maintainers; [ knedlsepp ];
license = licenses.bsdOriginal;
};
}