mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
41 lines
753 B
Nix
41 lines
753 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, importlib-metadata
|
|
, importlib-resources
|
|
, traits
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyface";
|
|
version = "7.4.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-YT7TAcubr7m6o3xEeT13XQPdI9hD7rkm/xPPaJ6v6N0=";
|
|
};
|
|
|
|
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";
|
|
maintainers = with maintainers; [ knedlsepp ];
|
|
license = licenses.bsdOriginal;
|
|
};
|
|
}
|