at master 905 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 protobuf, 6 websockets, 7}: 8 9buildPythonPackage rec { 10 pname = "iterm2"; 11 version = "2.10"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-jAz5X/yp8b90CYg2GN7uZqzXPGOSkiLiNDV4DcxRaGk="; 17 }; 18 19 propagatedBuildInputs = [ 20 protobuf 21 websockets 22 ]; 23 24 # The tests require pyobjc. We can't use pyobjc because at 25 # time of writing the pyobjc derivation is disabled on python 3. 26 # iterm2 won't build on python 2 because it depends on websockets 27 # which is disabled below python 3.3. 28 doCheck = false; 29 30 pythonImportsCheck = [ "iterm2" ]; 31 32 meta = with lib; { 33 description = "Python interface to iTerm2's scripting API"; 34 homepage = "https://github.com/gnachman/iTerm2"; 35 license = licenses.gpl2; 36 platforms = platforms.darwin; 37 maintainers = with maintainers; [ jeremyschlatter ]; 38 }; 39}