0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
40 lines
770 B
Nix
40 lines
770 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, traits
|
|
, pyface
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "traitsui";
|
|
version = "7.4.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-2zJRfpYioFgMIyCeE/gDLOoA5hxndJNnCf9F52M11bk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|