depot/third_party/nixpkgs/pkgs/development/python-modules/mobly/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

59 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
portpicker,
pyserial,
pyyaml,
timeout-decorator,
typing-extensions,
# tests
procps,
pytestCheckHook,
pytz,
}:
buildPythonPackage rec {
pname = "mobly";
version = "1.12.4";
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = "mobly";
rev = "refs/tags/${version}";
hash = "sha256-77wZK5dqxXUkOgWE7NBpGJBbbtYYxRCJwPbtwLIX09I=";
};
build-system = [ setuptools ];
dependencies = [
portpicker
pyserial
pyyaml
timeout-decorator
typing-extensions
];
nativeCheckInputs = [
procps
pytestCheckHook
pytz
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
changelog = "https://github.com/google/mobly/blob/${src.rev}/CHANGELOG.md";
description = "Automation framework for special end-to-end test cases";
homepage = "https://github.com/google/mobly";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}