nixpkgs/pkgs/development/python-modules/appium-python-client/default.nix

34 lines
834 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
hatchling,
selenium,
}:
buildPythonPackage (finalAttrs: {
pname = "appium-python-client";
version = "5.2.7";
pyproject = true;
src = fetchFromGitHub {
owner = "appium";
repo = "python-client";
tag = "v${finalAttrs.version}";
hash = "sha256-H8WBByS/8P8xIM8RmWJFgvrVbEDc5LrFj1rQzxL3174=";
};
build-system = [ hatchling ];
dependencies = [ selenium ];
pythonImportsCheck = [ "appium" ];
meta = {
description = "Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol";
homepage = "https://appium.io/";
changelog = "https://github.com/appium/python-client/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ eyjhb ];
};
})