2020-07-14 07:23:21 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, atom
|
|
|
|
, ply
|
|
|
|
, kiwisolver
|
|
|
|
, qtpy
|
2021-05-03 12:43:20 +01:00
|
|
|
, sip_4
|
2020-07-14 07:23:21 +01:00
|
|
|
, cppy
|
|
|
|
, bytecode
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "enaml";
|
2022-01-13 19:55:04 +00:00
|
|
|
version = "0.14.0";
|
2020-07-14 07:23:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nucleic";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-01-13 19:55:04 +00:00
|
|
|
sha256 = "sha256-u+T3jD/rulfWunWkCa02XKXYvDaB9oAnohgqrJXgtJw=";
|
2020-07-14 07:23:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# qt bindings cannot be found during tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"enaml"
|
|
|
|
"enaml.applib"
|
|
|
|
"enaml.core"
|
|
|
|
"enaml.core.parser"
|
|
|
|
"enaml.layout"
|
|
|
|
# qt bindings cannot be found during checking
|
|
|
|
#"enaml.qt"
|
|
|
|
#"enaml.qt.docking"
|
|
|
|
"enaml.scintilla"
|
|
|
|
"enaml.stdlib"
|
|
|
|
"enaml.widgets"
|
|
|
|
"enaml.workbench"
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
atom
|
|
|
|
ply
|
|
|
|
kiwisolver
|
|
|
|
qtpy
|
2021-05-03 12:43:20 +01:00
|
|
|
sip_4
|
2020-07-14 07:23:21 +01:00
|
|
|
cppy
|
|
|
|
bytecode
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/nucleic/enaml";
|
|
|
|
description = "Declarative User Interfaces for Python";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ raboof ];
|
|
|
|
};
|
|
|
|
}
|