depot/third_party/nixpkgs/pkgs/development/python-modules/enaml/default.nix
Default email b96e6f4393 Project import generated by Copybara.
GitOrigin-RevId: 20887e4bbfdae3aed6bfa1f53ddf138ee325515e
2021-07-03 21:40:35 -05:00

58 lines
1,018 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, atom
, ply
, kiwisolver
, qtpy
, sip_4
, cppy
, bytecode
}:
buildPythonPackage rec {
pname = "enaml";
version = "0.13.0";
src = fetchFromGitHub {
owner = "nucleic";
repo = pname;
rev = version;
sha256 = "sha256-8ZahvFDYW7xUTSTZP1UXnQBCg9RVUywoO7EbqtTQPJI=";
};
# 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 ];
};
}