1{ lib, buildPythonPackage, fetchPypi
2, protobuf
3, websockets
4}:
5
6buildPythonPackage rec {
7 pname = "iterm2";
8 version = "1.16";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "8dead057b09ed4ac03c6caae7890489da1d823215ec5166789739ece941bdcbc";
13 };
14
15 propagatedBuildInputs = [ protobuf websockets ];
16
17 # The tests require pyobjc. We can't use pyobjc because at
18 # time of writing the pyobjc derivation is disabled on python 3.
19 # iterm2 won't build on python 2 because it depends on websockets
20 # which is disabled below python 3.3.
21 doCheck = false;
22
23 pythonImportsCheck = [ "iterm2" ];
24
25 meta = with lib; {
26 broken = true;
27 description = "Python interface to iTerm2's scripting API";
28 homepage = "http://github.com/gnachman/iTerm2";
29 license = licenses.gpl2;
30 maintainers = with maintainers; [ jeremyschlatter ];
31 };
32}