mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
c627a7e4e7
Because enaml 0.13.0 doesn't work with atom 0.7.0, which is already in nixpkgs. 0.14.0 works again. (`enaml/layout/strength_member.py` was calling `__init__` on `Value` with 3 positional parameters, but atom 0.7.0 changed them to named ones, and enaml 0.14.0 is updated accordingly).
59 lines
1018 B
Nix
59 lines
1018 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, atom
|
|
, ply
|
|
, kiwisolver
|
|
, qtpy
|
|
, sip_4
|
|
, cppy
|
|
, bytecode
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "enaml";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nucleic";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-u+T3jD/rulfWunWkCa02XKXYvDaB9oAnohgqrJXgtJw=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|