diff options
author | Jeremy Schlatter <jeremy@jeremyschlatter.com> | 2020-06-12 10:07:25 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-06-12 11:58:19 -0700 |
commit | a3b63dbc72add9fb4c72b7efe58c50a0214ad5d6 (patch) | |
tree | 4dff553a24df38e8c408f54007857489d54a19a8 /pkgs/development/python-modules/iterm2 | |
parent | 261912e07124bf8e72cca2049c2a66acc0288db7 (diff) | |
download | nixpkgs-a3b63dbc72add9fb4c72b7efe58c50a0214ad5d6.tar nixpkgs-a3b63dbc72add9fb4c72b7efe58c50a0214ad5d6.tar.gz nixpkgs-a3b63dbc72add9fb4c72b7efe58c50a0214ad5d6.tar.bz2 nixpkgs-a3b63dbc72add9fb4c72b7efe58c50a0214ad5d6.tar.lz nixpkgs-a3b63dbc72add9fb4c72b7efe58c50a0214ad5d6.tar.xz nixpkgs-a3b63dbc72add9fb4c72b7efe58c50a0214ad5d6.tar.zst nixpkgs-a3b63dbc72add9fb4c72b7efe58c50a0214ad5d6.zip |
python3Packages.iterm2: init at 1.14
Diffstat (limited to 'pkgs/development/python-modules/iterm2')
-rw-r--r-- | pkgs/development/python-modules/iterm2/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/iterm2/default.nix b/pkgs/development/python-modules/iterm2/default.nix new file mode 100644 index 00000000000..33504323802 --- /dev/null +++ b/pkgs/development/python-modules/iterm2/default.nix @@ -0,0 +1,31 @@ +{ lib, buildPythonPackage, fetchPypi +, protobuf +, websockets +}: + +buildPythonPackage rec { + pname = "iterm2"; + version = "1.14"; + + src = fetchPypi { + inherit pname version; + sha256 = "089pln3c41n6dyh91hw9gy6mpm9s663lpmdc4gamig3g6pfmbsk4"; + }; + + propagatedBuildInputs = [ protobuf websockets ]; + + # The tests require pyobjc. We can't use pyobjc because at + # time of writing the pyobjc derivation is disabled on python 3. + # iterm2 won't build on python 2 because it depends on websockets + # which is disabled below python 3.3. + doCheck = false; + + pythonImportsCheck = [ "iterm2" ]; + + meta = with lib; { + description = "Python interface to iTerm2's scripting API"; + homepage = "http://github.com/gnachman/iTerm2"; + license = licenses.gpl2; + maintainers = with maintainers; [ jeremyschlatter ]; + }; +} |