nixpkgs/pkgs/development/python-modules/vncdo/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

55 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pexpect,
pillow,
pycryptodomex,
pytestCheckHook,
pythonOlder,
pyvirtualdisplay,
setuptools,
twisted,
}:
buildPythonPackage rec {
pname = "vncdo";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sibson";
repo = "vncdotool";
rev = "refs/tags/v${version}";
hash = "sha256-QrD6z/g85FwaZCJ1PRn8CBKCOQcbVjQ9g0NpPIxguqk=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
pillow
pycryptodomex
twisted
];
nativeCheckInputs = [
pexpect
pytestCheckHook
pyvirtualdisplay
];
pythonImportsCheck = [ "vncdotool" ];
meta = with lib; {
description = "Command line VNC client and Python library";
homepage = "https://github.com/sibson/vncdotool";
changelog = "https://github.com/sibson/vncdotool/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ elitak ];
mainProgram = "vncdo";
platforms = with platforms; linux ++ darwin;
};
}