nixpkgs/pkgs/development/python-modules/enaml/default.nix
2022-02-10 14:54:51 -08:00

59 lines
1018 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, atom
, ply
, kiwisolver
, qtpy
, sip_4
, cppy
, bytecode
}:
buildPythonPackage rec {
pname = "enaml";
version = "0.14.1";
src = fetchFromGitHub {
owner = "nucleic";
repo = pname;
rev = version;
sha256 = "sha256-QfI7cwl2c5HOlFNNdG+oOv48X9jJZnZNU/kWgutWe6k=";
};
# 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
sip_4
cppy
bytecode
];
meta = with lib; {
homepage = "https://github.com/nucleic/enaml";
description = "Declarative User Interfaces for Python";
license = licenses.bsd3;
maintainers = with maintainers; [ raboof ];
};
}