nixpkgs/pkgs/development/python-modules/traitsui/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
689 B
Nix
Raw Normal View History

{ lib
, fetchPypi
, buildPythonPackage
, traits
, pyface
, pythonOlder
2019-01-31 21:13:14 +00:00
}:
buildPythonPackage rec {
pname = "traitsui";
version = "7.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
2019-01-31 21:13:14 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-lHStZ/NF2Wsya0AemgFAXICCyS+kO/R8CwOYGOWHrGk=";
2019-01-31 21:13:14 +00:00
};
propagatedBuildInputs = [
traits
pyface
];
# Needs X server
doCheck = false;
2019-01-31 21:13:14 +00:00
pythonImportsCheck = [
"traitsui"
];
2019-01-31 21:13:14 +00:00
meta = with lib; {
2019-01-31 21:13:14 +00:00
description = "Traits-capable windowing framework";
homepage = "https://github.com/enthought/traitsui";
2019-01-31 21:13:14 +00:00
license = licenses.bsdOriginal;
maintainers = with maintainers; [ knedlsepp ];
2019-01-31 21:13:14 +00:00
};
}