mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-28 19:24:45 +00:00
44 lines
760 B
Nix
44 lines
760 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
protobuf,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
websockets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "iterm2";
|
|
version = "2.20";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Fo04B81Ys+Z4R2hSviu0pc2J8AjZXjfSd32YEHMc/wg=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
protobuf
|
|
websockets
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "iterm2" ];
|
|
|
|
meta = {
|
|
description = "Python interface to iTerm2's scripting API";
|
|
homepage = "https://github.com/gnachman/iTerm2";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.darwin;
|
|
maintainers = with lib.maintainers; [ jeremyschlatter ];
|
|
};
|
|
}
|