mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
43 lines
824 B
Nix
43 lines
824 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
traits,
|
|
pyface,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "traitsui";
|
|
version = "8.0.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-kBudHLxFUT4Apzl2d7CYRBsod0tojzChWbrUgBv0A2Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
traits
|
|
pyface
|
|
];
|
|
|
|
# Needs X server
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "traitsui" ];
|
|
|
|
meta = with lib; {
|
|
description = "Traits-capable windowing framework";
|
|
homepage = "https://github.com/enthought/traitsui";
|
|
changelog = "https://github.com/enthought/traitsui/releases/tag/${version}";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = with maintainers; [ knedlsepp ];
|
|
};
|
|
}
|