52 lines
908 B
Nix
52 lines
908 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchFromGitHub
|
||
|
|
||
|
# runtime
|
||
|
, portpicker
|
||
|
, pyserial
|
||
|
, pyyaml
|
||
|
, timeout-decorator
|
||
|
, typing-extensions
|
||
|
|
||
|
# tests
|
||
|
, procps
|
||
|
, pytestCheckHook
|
||
|
, pytz
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "mobly";
|
||
|
version = "1.12";
|
||
|
format = "setuptools";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "google";
|
||
|
repo = "mobly";
|
||
|
rev = "refs/tags/${version}";
|
||
|
hash = "sha256-HAXm0/h5jbgVuIwP7IZ1ffUs92gcpOPiM2VgT38r8Go=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
portpicker
|
||
|
pyserial
|
||
|
pyyaml
|
||
|
timeout-decorator
|
||
|
typing-extensions
|
||
|
];
|
||
|
|
||
|
checkInputs = [
|
||
|
procps
|
||
|
pytestCheckHook
|
||
|
pytz
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
changelog = "https://github.com/google/mobly/blob/";
|
||
|
description = "Automation framework for special end-to-end test cases";
|
||
|
homepage = "https://github.com/google/mobly";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = with maintainers; [ hexa ];
|
||
|
};
|
||
|
}
|